This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Dump the heap


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]