Home › Knowledgebase › KB-416

How to diagnose and fix Windows 11 memory leak issues causing slow performance over time

Summary

This guide helps you troubleshoot and resolve: How to diagnose and fix Windows 11 memory leak issues causing slow performance over time. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

Over time, Windows 11 can feel sluggish even on machines that originally ran well. One of the most common culprits is a memory leak, where a process or driver gradually consumes more RAM than it should and never releases it. Left unchecked, this can starve other applications of memory, leading to freezing, crashing, and overall poor performance. This guide walks you through diagnosing the source of a memory leak and applying fixes to restore stability.

Quick Fix Steps

If you only have a few minutes, work through these steps first. They resolve the majority of memory leak issues on Windows 11.

  1. Restart the computer to clear all leaked memory immediately.
  2. Open Task Manager with Ctrl + Shift + Esc and sort the Processes tab by Memory to identify the top consumer.
  3. Right-click any process that is consuming an unusually high amount of RAM and select End task.
  4. Run Windows Update and install any pending updates, including optional driver updates.
  5. Open Settings > Windows Update > Advanced options > Optional updates and install any available driver updates.
  6. Reboot and monitor performance over the next 24 hours.

Detailed Instructions

Understanding memory leaks

A memory leak occurs when a program or driver requests memory from Windows but fails to release it after it is no longer needed. Because the memory is never freed, the process continues to grow until Windows is forced to use slower storage as a fallback. You will typically notice:

It is normal for Windows itself to use a few gigabytes of RAM for caching and background services. A leak usually shows up as a single process steadily climbing in usage while the computer is idle.

Step 1: Identify the leaking process

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. Click More details if the compact view is showing.
  3. On the Processes tab, click the Memory column header to sort by memory usage (highest first).
  4. Leave Task Manager open and watch the top consumers for two to three minutes. A leaking process will continue to climb steadily rather than plateau.
  5. Note the Name, PID, and Publisher of any process that is clearly growing.

Common offenders include:

Step 2: Apply a targeted fix

Once you have identified the leaking process, the fix depends on what it is.

If the offender is a browser

  1. Close and reopen the browser to confirm the leak resets.
  2. Open the browser's Extensions or Add-ons page and disable all extensions.
  3. Restart the browser and re-enable extensions one at a time to find the culprit.
  4. Update the browser to the latest version via its built-in updater.

If the offender is an application

  1. Open Settings > Apps > Installed apps.
  2. Locate the application, click the three dots, and choose Update if available, or Uninstall if no update is offered.
  3. Reinstall the latest version from the vendor's website.

If the offender is a Windows component or driver

  1. Open Settings > Windows Update and click Check for updates.
  2. Expand Advanced options > Optional updates and install any driver updates listed.
  3. Visit your computer or component manufacturer's website (for example, Dell, HP, Lenovo, ASUS, or Intel) and download the latest chipset, graphics, and storage drivers.

Step 3: Run the Windows Memory Diagnostic

To rule out faulty hardware, run the built-in memory tester.

  1. Press Windows + R, type mdsched.exe, and press Enter.
  2. Select Restart now and check for problems.
  3. Windows will reboot, run the test, then boot back into Windows.
  4. Review the results in Event Viewer > Windows Logs > System, looking for entries with the source MemoryDiagnostics-Results.

If the diagnostic reports hardware errors, do not continue troubleshooting in software. Contact your hardware vendor or repairer, as faulty RAM can cause data loss.

Step 4: Disable startup programs you do not need

Many memory leaks come from background utilities that launch at sign-in. Trimming these reduces the chance of leaks developing.

  1. Open Task Manager with Ctrl + Shift + Esc.
  2. Click the Startup apps tab.
  3. Review each entry and click Disable for anything you do not need at sign-in, particularly cloud sync tools, chat clients, and trial software.
  4. Restart the computer and confirm performance has improved.

Step 5: Check for known Windows issues

Some Windows 11 builds have introduced memory leaks of their own, particularly around Search, Widgets, and Windows Security.

  1. Open Settings > Privacy & security > Search and ensure Search my device is set appropriately for your needs.
  2. Right-click the Widgets icon on the taskbar and choose Unpin from taskbar if you do not use it.
  3. Open Settings > Windows Update and confirm you are on the latest cumulative update.

Troubleshooting

If performance is still poor after the steps above, work through these additional checks.

Perform a clean boot

A clean boot starts Windows with only essential services, which helps isolate third-party software as the cause.

  1. Press Windows + R, type msconfig, and press Enter.
  2. On the Services tab, tick Hide all Microsoft services and then click Disable all.
  3. Switch to the Startup tab and click Open Task Manager, then disable all startup items.
  4. Return to System Configuration and click OK, then restart.
  5. Test performance. If the leak is gone, re-enable services and startup items in small groups until the culprit returns.

Reset or repair Windows

If a clean boot does not resolve the issue, an in-place repair install can replace Windows system files without removing your applications.

  1. Download the Windows 11 Media Creation Tool from Microsoft's website.
  2. Run the tool and choose Upgrade this PC now.
  3. Follow the prompts, choosing to keep personal files and applications.
  4. Allow the process to complete and restart when prompted.
  5. Verify that performance has improved and that your applications still work as expected.

If the issue persists after an in-place repair, consider using Settings > System > Recovery > Reset this PC as a last resort, making sure to back up your important files first.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket