Re: Is memprof only caring about unfreed memory?
- From: "John Berthels" <jjberthels gmail com>
- To: "Tilman Sauerbeck" <tilman code-monkey de>
- Cc: memprof-list gnome org
- Subject: Re: Is memprof only caring about unfreed memory?
- Date: Thu, 23 Aug 2007 08:56:51 +0100
> Okay, so memprof just doesn't provide the feature that I need:
> For this silly example, I'd like it to tell me that main() allocated
> 1024 bytes in total.
If you're running on Linux, you might want to look at valgrind. If you run:
valgrind --tool=massif your_prog
then it generates a .txt and a postscript .ps describing memory use
over the life of the program. Not sure if it gives the exact detail
you're after, but it sounds closer.
regards,
jb
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]