Difference between revisions of "Valgrind"
From Rizzo_Lab
(→Find memory leaks) |
|||
Line 1: | Line 1: | ||
==Find memory leaks== | ==Find memory leaks== | ||
+ | Works with regular compiled binaries, but runs 20-30 times slower and uses more memory. | ||
valgrind --tool=memcheck --leak-check=full dock6 -i dock.in -o dock.out | valgrind --tool=memcheck --leak-check=full dock6 -i dock.in -o dock.out | ||
==References== | ==References== | ||
* http://www.cprogramming.com/debugging/valgrind.html | * http://www.cprogramming.com/debugging/valgrind.html |
Latest revision as of 16:22, 11 May 2011
Find memory leaks
Works with regular compiled binaries, but runs 20-30 times slower and uses more memory.
valgrind --tool=memcheck --leak-check=full dock6 -i dock.in -o dock.out