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. Fre;D ----- 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. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal