Much has been written about using Performance Monitor to detect and isolate memory leaks. Two KB articles on the subject are Q130926 and Q150934.
While these standard protocols work, the hit and miss method of finding the leaking process can be very time consuming. Here is an alternate method:
- Start PMON.EXE from the Resource Kit.
- Monitor Paged and Non-Paged pool usage (last 2 items on the 2nd row). If these are increasing over time, you have a memory leak.
- Monitior the commit counters on the 2nd row. Increasing numbers over serval hours indicate a probable leak.
- Monitor the Commit Charge column. The process with the leak will have an increasing value.
- To make it easier to monitor, copy the output to the clipboard and paste it into notepad.
Do this about once an hour over the duration of your testing.