On 24/02/2026 11:58, Martin Frb via fpc-pascal wrote:
On 24/02/2026 08:57, Michael Van Canneyt via fpc-pascal wrote:
Hm...
A pattern emerges: the memory issues are caused on windows in firefox.
There must be some reason for this. I will investigate.
My Firefox (under win 10 / Europe still gets OS updates)
Loading the page adds 250 to 300MB (300 according to Taskmanager,
approx // 250 according to FF about:memory compare measurements)
Running "compiling world" adds another 50 to 100.
Repeated compiling does not further increase it (in task mgr)
And having Firefox idle seems to reduce memory usage (while the tab
stays open) by most of it after a while.
When I open the settings, and do "enable jit compiler" then it takes 5
seconds and gives me out of mem.
I did not see memory consumption raise during the 5 secs. So it likely
was one sudden big alloc attempt.
After that compilation would not work : error empty string / file not
found tmp/main
reloading the page and it works again, until I do enable jit again
_______________________________________________
fpc-pascal maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal