Valgrind

From PHASTA Wiki
Revision as of 14:34, 16 December 2011 by Matthb2 (talk | contribs)
Jump to: navigation, search

Valgrind is very useful for finding memory leaks that occur when running scripts.

soft add +valgrind

cd to the directory which contains the program you wish to run valgrind on

valgrind --tool=memcheck <program_name>