64bit windows vs 32bit windows and memory use

For general discussion related FlowStone
Post Reply
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

64bit windows vs 32bit windows and memory use

Post 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?
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
User avatar
Walter Sommerfeld
Posts: 250
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany
Contact:

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

Post 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
Exo
Posts: 426
Joined: Wed Aug 04, 2010 8:58 pm
Location: UK
Contact:

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

Post 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.
Flowstone Guru. Blog and download site for Flowstone.
Best VST Plugins. Initial Audio.
User avatar
Walter Sommerfeld
Posts: 250
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany
Contact:

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

Post by Walter Sommerfeld »

D O N E :!:
User avatar
JB_AU
Posts: 171
Joined: Tue May 21, 2013 11:01 pm

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

Post 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!
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

Albert Einstein
Post Reply