Next: , Previous: Using the GNU make Utility, Up: Top


18 Finding Memory Problems with gnatmem

gnatmem, is a tool that monitors dynamic allocation and deallocation activity in a program, and displays information about incorrect deallocations and possible sources of memory leaks. Gnatmem provides three type of information:

The gnatmem command has two modes. It can be used with gdb or with instrumented allocation and deallocation routines. The later mode is called the GMEM mode. Both modes produce the very same output.