[fpc-pascal] log memory usage at runtime
Peter Vreman
peter at freepascal.org
Thu Oct 27 16:40:17 CEST 2005
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.
Peter
More information about the fpc-pascal
mailing list