Script to track peak memory consumption

Alexander Dymo alexander.dymo at gmail.com
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 memusage.sh does.

This script is for ubuntu, but I think it should work on other systems.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memusage.sh
Type: application/x-sh
Size: 7540 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100214/476c7d7b/attachment.sh>


More information about the KDevelop-devel mailing list