Memory Dump

Tom Tromey tromey@redhat.com
Wed May 9 20:25:00 GMT 2012


>>>>> "Hei" == Hei Chan <structurechart@yahoo.com> writes:

Hei> I wonder whether it is possible to dump all the objects created in the
Hei> memory at the moment with GDB (I am on v7.0.1).

Hei> What I am trying to achieve is to identify which types of objects take
Hei> up most of the memory at the moment.

In addition to the other answers, you might be interested in gdb-heap:

    https://fedorahosted.org/gdb-heap/

Tom



More information about the Gdb mailing list