Use a staged approach to separate user-mode growth, kernel pool growth, and driver-related allocations.
- Confirm whether the leak is paged or nonpaged pool
- Open Performance Monitor (
perfmon). - Under Monitoring Tools > right-click Performance Monitor > Properties.
- On the Data tab, add:
- Memory > Pool Nonpaged Bytes
- Memory > Pool Paged Bytes
- Paging File > % Usage
- On the General tab, set:
- Sample every = 600 seconds
- Duration = 86400 for a 24-hour capture
- Let the system run undisturbed for several hours.
- A steady rise in Pool Nonpaged Bytes points to a likely kernel-mode leak.
- A steady rise in Pool Paged Bytes with paging growth can indicate pageable allocations.
- PerfMon helps determine whether a leak pattern exists, but it does not identify the exact source.
- Open Performance Monitor (
- If kernel-mode growth is indicated, use PoolMon to identify the pool tag
- Use PoolMon from the WDK.
- Sort the display to surface the largest or fastest-growing tags:
- B = maximum byte usage
- M = maximum byte allocations
- S = difference between allocations and frees
- P = cycle between nonpaged, paged, or both
- For suspected nonpaged growth, use P until nonpaged pool is isolated.
- Focus on tags that continue increasing over time rather than tags that are merely large at one point.
- Map the tag to a driver or component
- Run PoolMon with the
/gparameter so the Mapped_Driver column is shown: -
poolmon /g "C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\triage\pooltag.txt" - If a family of tags is suspected, filter with
/i: -
poolmon /iHid? /g "C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\triage\pooltag.txt" - The mapped driver name helps identify the likely offending kernel component.
- Run PoolMon with the
- Correlate with driver ownership
- If the growing tag maps to a third-party module, treat that driver as the primary suspect.
- The documented guidance is that even when symbols or exact functions are not visible for third-party processes, the allocation stack can still indicate a third-party module, and vendor engagement may be required.
- Prioritize recently updated or security-sensitive drivers such as endpoint protection, network, storage, chipset, or GPU-related components.
- Distinguish user-mode from kernel-mode before going deeper
- In Task Manager, check Commit size rather than relying only on the default memory columns.
- For user-mode investigation, use VMMap to determine the type of memory leak and Windows Performance Toolkit tools (WPR/WPA) to collect and analyze memory data.
- If the issue is actually a user-mode process with rising commit, switch to process-level monitoring with PerfMon counters:
- Process > Private Bytes
- Process > Virtual Bytes
- After identifying a leaking process, UMDH can be used to find the specific routine.
- Be careful with debugger settings during investigation
- Some GFlags pool settings, including Special Pool, can affect how memory pools are used.
- If those settings are enabled in the environment, account for them before comparing pool behavior across systems.
This workflow is the best-supported path from “System (PID 4) is large” to “which pool tag is growing” to “which driver/component owns that tag.”
- Look for memory leaks with Performance Monitor (PerfMon)
- Look for memory leaks with Performance Monitor (PerfMon)
- Use PoolMon to find a kernel-mode memory leak
- Use PoolMon to find a kernel-mode memory leak
- Application or service memory leaks troubleshooting guidance
- Memory Footprint Optimization
- Find user-mode memory leaks with Performance Monitor (PerfMon)
- Find user-mode memory leaks with Performance Monitor (PerfMon)