Fix High RAM Usage and Memory Leaks in Windows 11

Excessive RAM consumption and memory leaks in Windows 11 can severely degrade system performance, leading to sluggish behavior, freezing, and unexpected application crashes. This guide provides a straightforward, step-by-step approach to diagnosing memory-heavy processes, isolating driver-level leaks in the non-paged pool, adjusting key Windows configurations, and restoring optimal system memory management.

1. Identify Memory-Heavy Processes

The first step is pinpointing which application or background service is consuming your memory.

  1. Press Ctrl + Shift + Esc to open the Task Manager.
  2. Go to the Processes tab and click on the Memory column header to sort processes from highest to lowest usage.
  3. If a non-essential third-party application is consuming an abnormally high percentage of RAM, right-click it and select End task.
  4. For deeper analysis, press Windows Key + R, type resmon, and press Enter to launch Resource Monitor. Navigate to the Memory tab to view detailed metrics such as Commit, Working Set, and Shareable memory.

2. Check for Driver Leaks (Non-Paged Pool)

A memory leak often occurs at the kernel or driver level, where RAM is allocated to the “Non-paged pool” and never released.

  1. Open Task Manager and select the Performance tab.
  2. Click on Memory and check the value for Non-paged pool.
  3. Under normal conditions, this value should remain between 200 MB and 500 MB. If it exceeds 1 GB or continuously grows over time, a hardware driver is likely leaking memory.
  4. Fix Network Driver Leaks (NDU): A common Windows 11 leak originates from the Network Data Usage driver. To disable it:
    • Press Win + R, type regedit, and hit Enter.
    • Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Ndu
    • Double-click the Start key and change its value to 4 (Disabled).
    • Restart your computer.

3. Disable Unnecessary Startup Programs

Apps running in the background from boot can saturate memory early.

  1. In Task Manager, navigate to the Startup apps tab.
  2. Review the list of enabled programs.
  3. Right-click on non-essential apps (e.g., game launchers, chat apps, media updaters) and select Disable.

4. Run System File Checker and DISM

Corrupted operating system files can cause Windows core services to mismanage RAM.

  1. Press Windows Key + S, type cmd, right-click Command Prompt, and select Run as administrator.

  2. Run the following command to repair corrupted files:

    sfc /scannow
  3. After the scan completes, run the DISM repair tool:

    DISM /Online /Cleanup-Image /RestoreHealth
  4. Restart your PC once both processes are complete.

5. Adjust Virtual Memory (Paging File)

Improper paging file settings can cause Windows 11 to misallocate physical RAM.

  1. Press Win + R, type sysdm.cpl, and hit Enter.
  2. Go to the Advanced tab, and under Performance, click Settings.
  3. Select the Advanced tab inside the Performance Options window, then click Change under Virtual memory.
  4. Check the box for Automatically manage paging file size for all drives (or manually set it to 1.5x your physical RAM size if previously customized).
  5. Click OK, apply the changes, and restart your system.

6. Perform a Clean Boot to Isolate Third-Party Leaks

If high usage persists, a background third-party service may be malfunctioning.

  1. Press Win + R, type msconfig, and press Enter.
  2. Go to the Services tab, check Hide all Microsoft services, and click Disable all.
  3. Open Task Manager via the Startup tab in the same window and ensure startup items are disabled.
  4. Click Apply, then OK, and restart. If RAM usage normalizes, re-enable services one by one to identify the faulty software.