Board index » delphi » TMemoryStream max size?
es
![]() Delphi Developer |
Mon, 03 Nov 2003 08:39:01 GMT
|
es
![]() Delphi Developer |
Mon, 03 Nov 2003 08:39:01 GMT
TMemoryStream max size?
Hi,
I need to read large files (20 - 50 MB) and store them temporarily in TIA |
AlanGLLo
![]() Delphi Developer |
Mon, 03 Nov 2003 22:40:44 GMT
Re:TMemoryStream max size?QuoteIn article <3b031...@kastagir.senet.com.au>, "es" <er...@senet.com.au> writes: As with most programs, TMemoryStream uses whatever it needs, if there's not enough RAM available at the time (taking into account all other programs, processes and OS in use) then window swaps memory out to disk. If there is not enough hard disk for what is required with a swap file (or the swap file is limited by a user specification), then an out of memory message is displayed and the system {*word*88}s. Use of the swap file is not under the control of applications but of the Alan Lloyd |
es
![]() Delphi Developer |
Tue, 04 Nov 2003 08:35:03 GMT
Re:TMemoryStream max size?QuoteAlanGLLoyd <alangll...@aol.com> wrote in message Quote> In article <3b031...@kastagir.senet.com.au>, "es" <er...@senet.com.au> Thanks for that, sounds reassuring. Regards |
Andreas Kyriaco
![]() Delphi Developer |
Tue, 04 Nov 2003 14:14:22 GMT
Re:TMemoryStream max size?The message <3b046...@kastagir.senet.com.au> from "es" <er...@senet.com.au> contains these words: Quote> AlanGLLoyd <alangll...@aol.com> wrote in message also a disk file. If there is not enough disk space to hold the data for the nominated file what should Windows do with it? Even if the swap file is on another drive, the data still will not fit in the file you have nominated. One reason you may not be able to fit the data in TfileStream Check the size of your swap file (.swp). If you don't The logic behind not deleting it automatically used to be -- Andreas Kyriacou |