[fpc-pascal] Heavy heap fragmentation issue

Martok listbox at martoks-place.de
Wed Jul 17 14:32:04 CEST 2019

>>> Try compiling the heap manager with "-dBESTMATCH". This makes it a
>>> bit slower but greatly reduces fragmentation.
> I think so. I usually set it when I "make all OPT=-dBESTMATCH" the compiler.

BESTMATCH is only marginally better for the test case, but is much slower (i.e.
fully bootstrapping takes 50% longer). I guess there is something fundamentally
not very well suited to this type of workload in the RTL MM.

But it was worth a shot...


-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 3872 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20190717/e83c8b74/attachment.png>

More information about the fpc-pascal mailing list