[fpc-pascal] TFileStream.WriteBuffer() and RAM used ?

fredvs fiens at hotmail.com
Sat Dec 10 14:54:10 CET 2016

Hello Michael.

> The RAM increase is normal... 

OK, I was thinking that too but... is it normal that the app crash if there
are no more ram available ?
If so, how to know how many ram is disponible (and then create a temporally
file if too few).

One minute of recording stereo 16 bit is +- 10 megas.

> And where do you free DataRec ? 

When the recording stops (at end of WriteWave() procedure).

Thanks for helping.


Many thanks ;-)
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/TFileStream-WriteBuffer-and-RAM-used-tp5727062p5727086.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.

More information about the fpc-pascal mailing list