Next: Implementation Note, Previous: Examples of gnatmem Usage, Up: Finding Memory Problems with gnatmem
The main advantage of the GMEM
mode is that it is a lot faster than the
GDB
mode where the application must be monitored by a GDB
script.
But the GMEM
mode is available only for DEC Unix, Linux x86,
Solaris (sparc and x86) and Windows 95/98/NT/2000 (x86).
The main advantage of the GDB
mode is that it is available on all
supported platforms. But it can be very slow if the application does a
lot of allocations and deallocations.