Windows 11 has a memory leak bug and here's how to fix it

A leaking tap
(Image credit: Universal Images Group)

Windows 11 Insiders have discovered a memory leak in the new operating system's File Explorer. This seems to have carried over for some into the final build of Microsoft's newest OS, and means lots of users are stuck with their RAM refusing to release the memory allocated to File Explorer, even after every instance has been closed.

For users who don't turn their machines off at night, and especially those sporting minimal memory kits, this could turn into a real issue, causing system slow downs and unresponsiveness until the memory is finally freed up. 

Until there's an official fix to the memory leak from Microsoft, users will have to sort out their own workarounds. We've checked the most recent Dev channel Insider Preview build of Windows 11, and the leak is still obvious in this Build 22471.1000.

So, to prevent your PC from turning into a bulky, RGB-laden potato overnight, here's how to check for the Windows 11 File Explorer memory leak, and what to do about it.

Check if your system has a memory leak

To check if the memory leak is affecting your Windows 11 system, press Win+R, paste resmon into the box that pops up, and hit Enter. This will open the Resource Monitor, which will help you determine how much of your PC's RAM (or Physical Memory) is being used by certain processes at any one time.

Head to the Memory tab and sort by highest Commit (KB); there you'll see which processes are taking up the most physical memory. Before you do anything else, confirm the correct Total amount of physical memory is displayed at the bottom. It should be the same as the total system RAM you have installed—if not, you could instead be looking at a hardware issue.

Resource monitor monitoring resources (Image credit: Microsoft)

If your totals are right, spamming Win+E now should bring explorer.exe to the top of the list, depending on how many other memory intensive processes you're running. Check it on under Processes so you don't lose it, and note how much memory has been committed to it before the next step. If it crashes and restarts the process itself, you'll have to start this step over.

If not, go ahead and close all the File Explorer instances you've opened (just right click the folder icon in the taskbar and select Close all windows). The commit number should decrease as the memory automatically frees up for other programs to use.

Resource monitor screenshot

Close all windows (Image credit: Microsoft)

If the cache memory doesn't get released, or only reduces slightly before halting for an extended period, your system has probably fallen victim to the Windows 11 File Explorer memory leak. Do make sure to log the issue in the Feedback Hub, to bring it to the attention of Microsoft.

Thankfully there are a few options to tide you over until Microsoft comes out with an official fix, though. The first of which, you can do right now.

Revert to Windows 10...

If you've just upgraded, you can always revert back to Windows 10. This will stay an option in the Windows Update tab in settings for 10 days after you switch, before your previous version of the OS is removed to free up drive space.

If you're going to push through with Windows 11, you can try manually freeing the cache memory via Task Manager.

Manually free up RAM

This isn't the most practical fix, but it is the most immediate. It'll free up the space you need to follow the next steps, if your system memory is maxing out and slowing up.

First, do a trusty Ctrl+Alt+Del on your keyboard, or right-click on the Windows logo in the taskbar, and open the Task Manager. Then find Windows Explorer in your list of Processes, right-click it and select Restart.

Restarting file explorer process from task manager screenshot

Your task manager may not look like this on Windows 11, I just refused to upgrade. (Image credit: Microsoft)

That should free up the held memory resources for now, but it's not a final fix by any means. You'll have to remember to do this regularly if you don't turn your PC off a lot, and that can be time consuming, as well as just being downright inconvenient.

Third party software solutions

Peak Storage

SATA, NVMe M.2, and PCIe SSDs on blue background

(Image credit: Future)

Best SSD for gaming: the best solid state drives around
Best PCIe 4.0 SSD for gaming: the next gen has landed
The best NVMe SSD: this slivers of SSD goodness
Best external hard drives: expand your horizons
Best external SSDs: plug in upgrades for gaming laptops and consoles

Going forward, there are a few software solutions that can automatically free up your cache data so you don't have to remember to do so manually, such as CleanMem or EmptyStandbyList. Razer Cortex even has a similar facility. Keep in mind, though, there are always going to be risks associated with downloading third party software to solve your problems.

Even if you can confirm the software you've chosen is malware-free, there's the potential that it could use up more RAM than the issue you're trying to fix. Users have even reported being banned from certain games because memory cleaning software has been mistaken for cheatware.

As such, we recommend the manual clearing method until Microsoft come out with something workable. 

Katie Wickens
Hardware Writer

Screw sports, Katie would rather watch Intel, AMD and Nvidia go at it. Having been obsessed with computers and graphics for three long decades, she took Game Art and Design up to Masters level at uni, and has been rambling about games, tech and science—rather sarcastically—for four years since. She can be found admiring technological advancements, scrambling for scintillating Raspberry Pi projects, preaching cybersecurity awareness, sighing over semiconductors, and gawping at the latest GPU upgrades. Right now she's waiting patiently for her chance to upload her consciousness into the cloud.

Read more
A photo of the Windows update menu, showing that I'm all up to date
Latest Windows 11 Insider Build fixes 24H2 update's most annoying issues, including Auto HDR bugs and mouse stuttering
A promotional image for Microsoft OneDrive, showing a stylized collage of a tablet, phone, and application icons together
About darn time: Microsoft says it has fixed the annoying lag in Windows Explorer when working with cloud-based files
Microsoft Windows 11
If you installed Windows 11 with certain security updates and a USB stick, you may not get any more security updates warns Microsoft
woman using pc
9 Windows 11 settings we recommend changing
Microsoft's Task Manager in Windows 11
After years of complaints about Windows Task Manager displaying CPU utilization incorrectly, a fix is finally on its way
Retro 1990s style beige desktop PC computer and monitor screen and keyboard. 3D illustration.
Microsoft nixes details of its Windows 11 TPM 2.0 security bypass though there are still other ways of getting the latest OS on 'unsupported' hardware
Latest in Windows
Microsoft Copilot
A rather pleasing Windows 11 update bug automatically uninstalls Copilot and unpins it from the taskbar, which is jolly nice of it
Microsoft's Task Manager in Windows 11
After years of complaints about Windows Task Manager displaying CPU utilization incorrectly, a fix is finally on its way
Microsoft Windows 11
The latest Windows 11 dev build gives you the ability to snap together commonly paired apps for access in a single click, and I'm already sold
Windows 11's new emoji button in the taskbar.
You might mock Microsoft's new emoji button in Windows 11 but as someone that's explained how to quickly access emojis and special characters too many times, I get it
Windows 10 operating system logo is displayed on a laptop screen for illustration photo. Gliwice, Poland on January 23, 2022.
Valve's monthly survey reveals that almost 45% of Steam users on PC are still using Windows 10 even with the sword of Damocles hanging over them
Microsoft Windows 11
If you installed Windows 11 with certain security updates and a USB stick, you may not get any more security updates warns Microsoft
Latest in Features
Sphene applauds in Final Fantasy 14's patch 7.2 story.
I'm not yelling 'we're so back!' yet, but Final Fantasy 14's patch 7.2 story could be the first sign the MMO is returning to what made it so critically-acclaimed
Several tight-wearing superheroes surge towards the camera in a heroic fashion in City of Heroes.
One year later, City of Heroes' officially recognized fan server has me praying it's the future of dead MMOs
Immortal Pillars expansion for Age of Mythology: Retold
Age of Mythology Retold's new Chinese pantheon expansion takes a bold stance on updating an old game: Just make good new stuff
Ragnarok Battle Offline
After punishing my graphics card with Monster Hunter Wilds, I've returned to the rock-solid frame rates of my old hunting grounds: Windows XP
Ghoul in sunglasses
I'm convinced being a ghoul in Fallout 76 is the best way to vibe in West Virginia, thanks to these powerful perk cards and my new true love: Radiation
Steel Hunters hands-on
Steel Hunters is like a more tactical Titanfall, but as an extraction shooter it's undermined by boring loot