Hello Jose. Many thanks for your help. I will deeply study your code tonight. Write you later. Fre;D ----- Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/TFileStream-WriteBuffer-and-RAM-used-tp5727062p5727096.html Sent from the Free Pascal - General mailing list archive at Nabble.com.