[fpc-pascal] Heap manager tuning

denisgolovan denisgolovan at yandex.ru
Sat Aug 9 23:46:08 CEST 2014

> On 09/08/14 23:01, denisgolovan wrote:
> Try avoiding growing memory blocks small amounts at a time via
> reallocmem or setlength, and instead grow them in bigger chuncks. This
> will both increase the performance of your program and reduce the
> internal memory fragmentation.
> Jonas

I don't have that allocation pattern here. Just a lot of large arrays allocating/deallocating (including local arrays for temporary results).
Any Java-like knobs to play with? :)

Denis Golovan

More information about the fpc-pascal mailing list