Memory leak detection tools

"gflags -i foobar.exe +ust" to enable stack tracing.
"set _NT_SYMBOL_PATH= SRV*c:\symbols* http://msdl.microsoft.com/download/symbols" to set the symbol path.
Download umdh tools from Microsoft.
"umdh -p:124 -ffoobar.log" to take multiple snapshots.
""dhcmp foobar1.log foobar2.log" to compare the snapshots ie. leaks.

And, then there is ftp://ftp.microsoft.com/ PSS/Tools/Developer%20Support%20Tools/LeakDiag/leakdiag125.msi - this can also be used to take debug dumps of any process.

Comments

Popular posts from this blog

Google Appengine

Did you ever have to analyze large log files before?