When using massif on a C++ program, the output is useless. Graph is all ok, but legend is like: x8065E06:vertices::verti x8065E50:vertices::verti x8065EE4:vertices::verti and so on. Checked on 20040605 cvs snapshot.
[A general message:] Massif has recently been completely overhauled. Instead of recording space-time usage, it now records space usage at various points during execution, including the peak allocation point. The output format has also changed, and presents more information, more compactly. It's also more robust than the old version. The new version will be Valgrind 3.3.0, which should be released in the next week or two. In the meantime, if you want to try it, please check out the code from the SVN repository (see http://www.valgrind.org/downloads/repository.html for how). [A specific message about this bug:] The PostScript graph no longer is produced. The function names in the new output are not truncated.