The new « gdb-heap » package adds a new « heap » command to /usr/bin/gdb which allows you to get a breakdown of how that process is using dynamic memory. It allows for unplanned memory usage debugging, which means that if a process unexpectedly starts using large amounts of memory you can attach to it with gdb, and use the heap command to figure out where the memory is going. You should also be able to use it on core dumps. This feature was developed inside of Fedora by David Malcolm and is a unique feature of Fedora 14.
Commentaires