Realtime memory monitor crap tool

Last night I wrote about a little tool for real-time monitoring of the memory consumption of a piece of software.

You can find it here. If you untar that you’ll find a valgrind_massif_ms_main.diff which you’ll have to apply to valgrinds massif tool release 3.1.1 (it’s the latest version on their website). I didn’t cleanup the crap code. So the code is as ugly as can be.

Oh by the way. Using it to monitor evolutions memory consumption gives funny results.