[fpc-pascal] heap size growing

Micha Nelissen micha at neli.hopto.org
Mon May 11 21:12:51 CEST 2009


Luca Olivetti wrote:
> Seeing this thread, I used GetFPCHeapStatus and, effectively, 
> CurrHeapSize is growing but CurrHeapUsed isn't, so apparently 
> TJpegImage.LoadFromStream (that's what I'm using) causes heap 
> fragmentation.

Can you reproduce this in a small test program? Perhaps there is a 
simple fix for TJpegImage's allocation pattern.

Micha



More information about the fpc-pascal mailing list