[fpc-pascal] Heap, Stack, HeapTrc and threads

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Nov 25 11:07:46 CET 2011


On 25 Nov 2011, at 08:43, Marco van de Voort wrote:

> IMHO if you get into trouble with this, you are already walking on  
> the edge
> of the abyss. Using cmem (or any other advanced memory manager)  
> might give
> short time relieve because it probably has a different allocation  
> pattern.

Not necessarily. The FPC heap manager is simply very bad at preventing  
or getting rid of heap fragmentation as soon as you use block sizes >  
maximum size used by the fixed freelists.


Jonas



More information about the fpc-pascal mailing list