To use this tool, you must specify --tool=massif on the Valgrind command line. Massif is a heap profiler. It measures how much heap memory your program uses. This includes both the useful space, and the extra bytes allocated for book-keeping and alignment purposes. It can also measure the size of your program's stack(s), although it does not do so by default. Heap profiling can help you reduce the