Resource Kit Tools for Diagnosing and Monitoring Memory Leaks

  • Clearmem (clearmem.exe)—Forces pages out of physical memory and reduces the size of running processes’ working sets to a minimum. When you run this tool, the system pauses because of excessive high-priority activity associated with trimming the working sets. To run this tool, your paging file must be at least as large as physical memory. (Windows NT might register a lack of virtual memory, but the utility will still run.)

  • LeakyApp (leakyapp.exe)—Allocates virtual memory continuously until the system runs out of memory. This tool lets you observe and record component and application performance in a system running with minimum available memory.

  • Page Fault Monitor (PFMON—pfmon.exe)—Monitors the hard and soft page faults an application generates and displays them in realtime.

  • Performance Meter (perfmtr.exe)—Provides a systemwide summary of paged and nonpaged pool statistics if you type p at the command prompt.

  • Process Monitor (PMON—pmon.exe)—Displays a summary of memory statistics for all NT processes and updates the summary continuously until you kill the command or close the console window.

  • Process Status (PSTAT—pstat.exe)—Displays the status of running processes and threads.
Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.