Script to track peak memory consumption

Alexander Dymo alexander.dymo at
Sun Feb 14 16:27:49 UTC 2010

Here's the script I found useful to track peak memory consumption when
optimizing memory. It uses some internal libc stuff to monitor memory
usage without any performance penalty. For example, valgrind's memory
profilers never finish for me when I profile KDevelop loading some
huge project. This does.

This script is for ubuntu, but I think it should work on other systems.
-------------- next part --------------
A non-text attachment was scrubbed...
Type: application/x-sh
Size: 7540 bytes
Desc: not available
URL: <>

More information about the KDevelop-devel mailing list