Admin Tip #76: Finding Windows NT Memory Leaks

Hits: Failed to execute CGI : Win32 Error Code = 3


Depending on the severity of the leak, you may have to monitor once/hr for several days.

To release the leaked memory, use Resource Kit utility:

empty { PID | progname }

where PID is Product Identification number. EMPTY frees the working set of a task or process

Microsoft TechNet related articles:

How to Use Dh.exe to Troubleshoot User-Mode Memory Leaks
How to Use Poolmon to Troubleshoot Kernel Mode Memory Leaks
Using Performance Monitor To Identify A Pool Leak
MS-DOS-Based Apps Starting Non-MS-DOS-Based Apps
WM_DDE_EXECUTE API Causes a Memory Leak in the WOW Subsystem
SetTimer() API Causes Memory Leak in the WOW Subsystem
Memory Leak in Ntfs.sys
Memory Leak in SERVICES.EXE Causes Performance Degradation

There are many examples. Many are fixed in various service pack releases. Many are not. If your box gets sluggish or unreliable, this is an area worth checking.





Must have for NT administrators