.NET & Memory Leaks
From Richard's Wiki
- Perfmon & .NET
- IDisposable: What Your Mother Never Told You About Resource Deallocation
- Memory Leak Detection in .NET uses WinDbg.
- Download windbg from Install Debugging Tools for Windows 32-bit Version. The following batch file will run windbg with the VS2008 environment set so that ".load sos.dll" can be run from the prompt in windbg. Install the batch file in the Debugging Tools install directory (C:\Program Files\Debugging Tools for Windows).
echo off REM Runs windbg with VS2008 environment set so that ".load sos.dll" can be run simply call "C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat" start windbg.exe REM set /p a=Press Enter