This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Dump the heap
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: double <ninive at gmx dot at>
- Cc: gdb at sourceware dot org
- Date: Wed, 31 Mar 2010 18:45:27 +0200
- Subject: Re: Dump the heap
- References: <4BB379E9.4050509@gmx.at>
On Wed, 31 Mar 2010 18:35:53 +0200, double wrote:
> A process allocated a huge amount of RAM. I made a
> coredump (SIGQUIT). Now, is there a chance to dump
> the malloc-heap, so that I get an idea what happend?
Standard glibc malloc does not support introspection of the allocated areas
for performance reasons.
If you want some memory analysis you have to start the application under some
tool such as valgrind.
Regards,
Jan