[fpc-devel]fcl, classes unit, memory issue
rimga at ktl.mii.lt
Sun Apr 18 18:33:29 CEST 2004
l.loadfromfile('file.txt'); //<-hangs here
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel