<div dir="ltr">Does anyone have any experience adding tests to check for memory leaks on Macs? I come from more of a Linux background and am new to CMake and CTest. I am not using CDash yet, and writing software in C and Fortran.<div>
<br></div><div>It seems that Valgrind is still very experimental for Mac, especially for Mountain lion, and produces unreliable/buggy results complaining about memory leaks which are allegedly in system libraries, etc. It seems that there is a 'leaks' tool that can be used to perform dynamic memory analysis, but you must attach it to the process after it's started. Is there a way to tell a process to start without actually executing, then attach leaks to it, and start/resume executing? Is there a better/different approach?</div>
<div><br></div><div style>Thanks,</div><div><br clear="all"><div>Izaak Beekman<br>===================================<br>(301)244-9367<br>Princeton University Doctoral Candidate<br>Mechanical and Aerospace Engineering<br>
<a href="mailto:ibeekman@princeton.edu" target="_blank">ibeekman@princeton.edu</a><br><br>UMD-CP Visiting Graduate Student<br>Aerospace Engineering<br><a href="mailto:ibeekman@umiacs.umd.edu" target="_blank">ibeekman@umiacs.umd.edu</a><br>
<a href="mailto:ibeekman@umd.edu" target="_blank">ibeekman@umd.edu</a></div>
</div></div>