High kernel-mode memory usage by the System process (PID 4) without an obvious user-mode application responsible

Casper Whristle 40 Reputation points
2026-11-28T02:46:47.0033333+00:00

Hello everyone,

On several managed Windows workstations/servers, Task Manager and Resource Monitor show the System process (PID 4) consuming several gigabytes of physical RAM over time, even when no heavy user-mode applications are actively running.

So far, we have inspected the Performance tab in Task Manager to compare the Paged pool and Non-paged pool sizes, checked Get-Process memory metrics, and reviewed the System event log for any driver initialization or resource exhaustion warnings. We suspect the growth is driven by kernel-mode pool allocations, a third-party filter driver (such as an EDR/antivirus agent or network/storage driver), or the Windows Memory Compression store.

Could anyone share best practices for isolating what is driving high System process memory usage—such as identifying top kernel pool tags using poolmon.exe (WDK), checking RAMMap (Sysinternals) for Driver Locked or Metafile allocations, or auditing specific kernel drivers?

Thank you in advance for your guidance.

Windows for business | Windows Client for IT Pros | Performance | Other
0 comments No comments

2 answers

Sort by: Newest
  1. Harry Phan 37,320 Reputation points Independent Advisor
    2026-11-28T03:16:54.9933333+00:00

    Hi Casper,

    Memory Compression shows up as its own process, so it isn't counted under System. When System memory keeps growing, the cause is almost always kernel pool allocations or a driver.

    1. Use RAMMap to see where the memory goes. Open the Use Counts tab:
    • Nonpaged/Paged Pool is high: go to step 2.
    • Driver Locked is high: on a VM, this is usually the Hyper-V or VMware balloon driver.
    • Metafile is high: this is NTFS metadata cache. It's common on file servers and usually not a leak.
    1. Use PoolMon to find the top tag. Run poolmon.exe and press B to sort by bytes. Look for a tag whose usage keeps growing.
    2. Match the tag to a driver. Replace TAG with the tag from PoolMon and run: findstr /m /l TAG %systemroot%\System32\drivers\*.sys If the tag belongs to an EDR, antivirus, or storage filter driver, update that driver or check with the vendor.
    3. Confirm the cause. Temporarily disable the suspect agent and watch whether the pool still grows.

    If you're still not sure, post the top 5 PoolMon tags and the RAMMap Use Counts, and I'll help you narrow it down.

    Best regards,

    Harry P.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-11-28T02:47:11.7066667+00:00

    Use a staged approach to separate user-mode growth, kernel pool growth, and driver-related allocations.

    1. 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.
      Interpretation:
      • 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.
    2. 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.
    3. Map the tag to a driver or component
      • Run PoolMon with the /g parameter 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.
    4. 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.
    5. 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.
    6. 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.”


    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.