Page 1 of 1

64bit windows vs 32bit windows and memory use

Posted: Sun Aug 17, 2014 7:20 pm
by tester
Quick question.

Having standalone (or vst as well?) app made by Flowstone, 32bit app that loads wave files.

From what I see, loaded waves - reserve memory equivalent of 32bit resolution. The question is not about it. :-)

On 32bit operating system, when wave is being loaded - memory usage increases from zero to destination point.

But I noticed something on 64bit operating system. When wave is being loaded - task manager shows a memory usage spike that is 2x higher than the destination size, as if 64bit equivalent was reserved for a moment. Is this true, or this spike is not real?

Context:

This may cause a problem when loading large/long audio files. Because while having more GB on board - if the spike is real, then only half of available memory will be used (so having 4GB will make as if there was only GB). Because if the spike exceeds available size, then app will tell, that "there is no available memory". Do I understand it correctly? or just this spike will be unnoticed, because ut's some sort of native Windows operation?

Re: 64bit windows vs 32bit windows and memory use

Posted: Fri Aug 22, 2014 12:09 pm
by Walter Sommerfeld
But I noticed something on 64bit operating system. When wave is being loaded - task manager shows a memory usage spike that is 2x higher than the destination size, as if 64bit equivalent was reserved for a moment. Is this true, or this spike is not real?

I also just noticed that behaviour... :(
A 600 MB Wav eats up 1200 MB Mem and i get an [Out of Memory] Bug Window in my EXE and in FS i get an Error inside my WAV Load Module with a red dotted line up to the Load Trigger input :(
If i try to delete this link i get the same error: [Out of Memory]

My System is Win8 64bit / 16 GB physical Memory with > 11 GB available...
FS v3.04 and v3.05

Re: 64bit windows vs 32bit windows and memory use

Posted: Fri Aug 22, 2014 2:15 pm
by Exo
This indicates that the original file is being copied and then the original is discarded.

Not sure why but I do know Flowstone does a lot of copying internally, I would expect this behaviour to also be on 32bit if it is Flowstones fault. Either way I would report it to Malc.

Re: 64bit windows vs 32bit windows and memory use

Posted: Fri Aug 22, 2014 6:56 pm
by Walter Sommerfeld
D O N E :!:

Re: 64bit windows vs 32bit windows and memory use

Posted: Sat Aug 30, 2014 12:26 pm
by JB_AU
Change from "System Managed" Pagefile to Manual. 1.5x Your Ram.
Commit is approximately Pagefile+50%RAM (MAX as a rule, as a rule, rules can be broken)
If ram is > 16gb , don't use Pagefile , try it!