[fpc-pascal] log memory usage at runtime

Marc Santhoff M.Santhoff at t-online.de
Thu Oct 27 17:07:25 CEST 2005

Am Donnerstag, den 27.10.2005, 16:40 +0200 schrieb Peter Vreman:
> At 16:35 27-10-2005, you wrote:
> >Hi,
> >
> >can the memory manager of fpc be watched at runtime?
> >
> >I'd like to log allocation and release of memory chunks by a GUI program
> >under suspicion of leaking memory.  This seems to be a problem only
> >under some unknown circumstances...
> >
> >At least the total mem at start and end of on run should be logged.
> You can create and install your own memory manager that wraps the original 
> memory manager. just like the heaptrc unit does.

I'll have a look at that, Thank you!


More information about the fpc-pascal mailing list