Hello,
uses
classes;
var
l: tstringlist;
begin
l.loadfromfile('file.txt'); //<-hangs here
...
end.Program hangs (under windows, 1.9.2 and earlier v.) then i try to load relatively large file (~7 MB) without raising any error message. It works ok, if i set more memory using directive ($M). Why do not program allocate neaded memory automaticaly? Do i need to calculate how much memory need to program and set its size before compilation always?
