jodleren
2010-05-21 14:49:18 UTC
Hi all
I am working on reading an intire tree into an array as this one:
TFileInfo = packed record
sFilename: string;
dtFileTime: TDateTime; // take up less memory than SystemFileTime
fFileSize: integer;
bFolder: boolean;
bChecked: boolean;
end;
TAFileInfo = array of TFileInfo;
But, when I have 3700 entries, I get an out of memory error.
I have done what I can to save memory, but I still lack it...
The record is packed, and the files does not hold their folders,
instead, the folder name is stored here, and I read it out on the fly,
and it applies for the following files.
But, how can I read in more than 3700 entries?
WBR
Sonnich
I am working on reading an intire tree into an array as this one:
TFileInfo = packed record
sFilename: string;
dtFileTime: TDateTime; // take up less memory than SystemFileTime
fFileSize: integer;
bFolder: boolean;
bChecked: boolean;
end;
TAFileInfo = array of TFileInfo;
But, when I have 3700 entries, I get an out of memory error.
I have done what I can to save memory, but I still lack it...
The record is packed, and the files does not hold their folders,
instead, the folder name is stored here, and I read it out on the fly,
and it applies for the following files.
But, how can I read in more than 3700 entries?
WBR
Sonnich