86

I'm using Valgrind 3.3.1 with the Massif tool to profile the heap of a C++ application, and I'm wondering if there is a graphical tool to examine the textual outputfile file.

Thanks for any suggestion.

3 Answers 3

116

For anyone else who is still interested in graphical output of Massif from Valgrind please consider massif-visualizer, it is beautiful.

alt text

You can find the project page at KDE-Apps.

For Ubuntu you should build massif-visualizer from source or install package from Kubuntu-ppa repo:

add-apt-repository ppa:kubuntu-ppa/backports
apt-get update && apt-get install massif-visualizer
9
  • Links to the git repo seem to be out of date.
    – Catskul
    Jun 3, 2011 at 1:05
  • 2
    @Catskul - Looks like it has a 'proper' page on KDE-Apps with current links, edited to point there instead.
    – Tim Post
    Sep 7, 2011 at 4:32
  • 3
    Its really hard to build it if you are running Centos... like, really, hard. Even installing KDE is not enough and some libraries need to be pulled as sources from ubuntu repos. Though the app is worth all the trouble
    – Zeks
    Sep 17, 2014 at 12:57
  • I'm going to sound like a dinosaur here, but Slackware 14.1, clone + follow the instructions in the INSTALL and it worked. Oct 17, 2014 at 15:01
  • 10
    In ubuntu 18.04 massif-visualizer is aviable from main repos. Jul 12, 2018 at 16:58
11

I just made my own in-browser massif visualizer, since the available visualizers and viewers didn't compile on the platform I use.

So take a look to it, it's online.

7

There is a Qt application called massiftool that does a fair job of displaying this data. Go to http://sourceforge.net/projects/massiftool/ to see the project page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.