| <p>valgrind --suppressions=$ROOTSYS/etc/valgrind-root.supp ./myCode</p>
<p>If you use valgrind to identify potential memory leaks in your code, but use a lot of ROOT objects and functions, you'll notice that ROOTs TObjects trigger a lot of "potential memory leak" warnings. This option will suppress many of those. More info at <a href="https://root-forum.cern.ch/t/valgrind-and-root/28506">https://root-forum.cern.ch/t/valgrind-and-root/2ss8506</a></p> |