Introduction
For a description about memory usage and tools, see: http://ktown.kde.org/~seli/memory/analysis.html
Short valgrind help
To find memory leaks with Valgrind, run the following command:
valgrind --tool=memcheck --leak-check=yes --suppressions=kmess.supp /path/to/kmess
When KMess closes Valgrind reports all leaks.
Also consider running:
valgrind --tool=memcheck --leak-check=full --suppressions=kmess.supp /path/to/kmess
To run a complete valgrind check for detecting and checking all kinds of errors:
valgrind --tool=memcheck --leak-check=full --show-reachable=yes --db-attach=yes --gen-suppressions=yes --suppressions=kmess.supp /path/to/kmess
The kmess.supp file is found in the root of the KMess source tree. When you just finished building KMess from SVN, the kmess executable will be at build/src/kmess.
