gnatmem
Using GMEM
Mode
This mode use the same algorithm to detect memory leak as the GDB
mode of gnatmem
, the only difference is in the way data are
gathered. In GMEM
mode the program is linked with instrumented
version of __gnat_malloc
and __gnat_free
routines. Information needed to find memory leak are recorded by these
routines in file gmem.out
. This mode also require that the stack
traceback be available, this is only implemented on some platforms
GDB and GMEM Modes.