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: heap info


Hi, Jan.

I'm trying to use valgrind --tool=massif.  Thanks for the idea.

I am working with a core file.  As far as I know, valgrind doesn't handle a core file.

I am running the application again under valgrind --tool=massif.  It's painfully slow, and I'm not sure I can get results.

Any techniques to work on a dead core file?  Some kind of post-mortem heap walker?



                   Regards,

                   Rick

-----Original Message-----
From: Jan Kratochvil [mailto:jan.kratochvil@redhat.com]
Sent: Thursday, September 23, 2010 10:25 AM
To: Richard Hedin
Cc: 'gdb@sourceware.org'
Subject: Re: heap info

On Thu, 23 Sep 2010 16:09:56 +0200, Richard Hedin wrote:
> I need to find out which object in my application is growing without limit.

Try: valgrind --tool=massif ./app

valgrind also has various options for the allocations reporting.


Regards,
Jan

______________________________________________

See  http://www.peak6.com/email_disclaimer.php
for terms and conditions related to this email


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