Difference between revisions of "Valgrind"

From PHASTA Wiki
Jump to: navigation, search
(Created page with "Valgrind is very useful for finding memory leaks that occur when running scripts. From viz001 or viz002: ''soft add +valgrind'' cd to the directory which contains the program...")
 
Line 1: Line 1:
 
Valgrind is very useful for finding memory leaks that occur when running scripts.   
 
Valgrind is very useful for finding memory leaks that occur when running scripts.   
  
From viz001 or viz002:
 
 
''soft add +valgrind''
 
''soft add +valgrind''
  

Revision as of 14:32, 21 August 2011

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>"