[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 755

[Deleted]  
Swetten:
WinXP, SP3, Pentium 4 2.8 dual core, 1 Gb RAM.

I have almost the same:

CPU - Intel Pentium D 915 (2.8 x 2)
RAM - Kingston DDR2 667 PC2-5300 4 Gb (2 x 2)
MB - Gigabyte 945P
SVGA - Sapphire Radeon 1650PRO 512MB
HDD - Seagate 400 Gb
OS - Win XP SP3 32bit

As you can see only the RAM is fundamentally different, maybe not enough?

[Deleted]  
an11:

I insert the first line into Start() function:

Sleep(1000*60*(timeframe+1)*1000);

where timeframe = 240 and the test results in the tester are the same as without it. What is the reason?


What did you want to achieve as a result?

If I have calculated correctly:
1000*60*(240+1)*1000 = 14,460,000 seconds.

Do you want the tester to stop at every tick for 167 days ?

I already told you about pausing of processes several pages ago.

[Deleted]  
ToLik_SRGV:

I have almost the same:

CPU - Intel Pentium D 915 (2.8 x 2)
RAM - Kingston DDR2 667 PC2-5300 4 Gb (2 x 2)
MB - Gigabyte 945P
SVGA - Sapphire Radeon 1650PRO 512MB
HDD - Seagate 400 Gb
OS - Win XP SP3 32bit

As you can see only the RAM is fundamentally different, maybe it's not enough?

I have a little over half of it at maximum (~600 MB).

Usually 400-450 MB.

[Deleted]  
ToLik_SRGV:

As you can see only the RAM is fundamentally different, maybe not enough?

How does mt use the swap file? Is there a problem there?
 
Abzasc:
With the first option, if return is removed in the first block, does it not work either?

Thank you very much! It works as it should!
[Deleted]  
My forum has been fogging up, people are out in the cold at night working or something:)
[Deleted]  
Abzasc:
I'm having a bit of a slowdown, people are working out in the cold at night or something :)

I've noticed too, pages take 7~10 seconds to open.

[Deleted]  
Abzasc:
And how does mt use swap file? Maybe there is a problem there?

Well, here's the picture I have.

Paging file is 2 Gb, of course with 4Gb RAM, it is loaded only by ~4% (purple bar on the system monitor), RAM is respectively loaded by ~28% (brown bar).

[Deleted]  

I apologise for repeating myself, but I'd really like to get to the bottom of this...

Here's the action I'm taking:

I run through the array, which records the date of formation of the max/min of the ZigZ and the value of that max/min.

I need to figure out, in fact, which vertex of ZZ is a minimum and which one is a maximum.

To do this I compare the next highest point of ZZ to the previous one.

If the consecutive top is larger, then it is a top.

if it is smaller, it is a trough.

Depending on whether it is a vertex or a trough, we add 1 or 2 to an element of another array, respectively.

But then Alert displays only 0 instead of 1 and 2.

I am curious about this, WHERE the error could be!!!!

Files:
[Deleted]  
Morzh09:

I apologize for repeating myself, but I'd really like to understand...

Ilya, I'll have a look, but I don't quite understand why arrays have string type?