Why does Windows 11 keep using more and more ram the longer it's on?

Associate
Joined
6 Apr 2010
Posts
44
I have 128GB of ram and it slowly creeps up until it's full and nothing is running, I look at task manager and according to that I'm using barely anything. I've tried reinstalling a fresh install, but Windows 11 always does this and the problem is it slows the whole thing down over time. I'm someone that likes keeping their PC on 24/7, so right now it's been on three months, but that is no excuse to be using all my 128GB of ram. My Macbook hasn't been off since I bought it in 2020, yet that is still fine, it is barely using anything still.

What is Windows doing? Cause Resource Manager and Task Manager do not show what is really going on.
 
I have same 128GB RAM but it never been slowed creep up until it's full when nothing is running, it always stayed at 15% used about 19GB memory. I kept PC on for about 15 hours a day then put it to sleep. Memory always slowed creep up to over 60% after few days when I used internet browsers because internet browsers are memory resource hogs, only way to reset memory back down to 25% is to update internet browsers to latest version or closed browsers and restarted it.

Your PC could be infected with trojans/malware. Best to format fully and clean install Windows 11, not reinstall Windows 11. If you not want to format fully when you have important data on drive, try create new drive partition and install Windows 11 on other partition and see if 128GB RAM stopped creeps until full when nothing is running.
 
What does Task Manager show on the Performance tab for Memory?

Windows will use all the memory you have available, it will cache as much data into "standby" as it can. This memory can be instantly reclaimed if an active application comes along and actually needs it. The exception to this is if you have something leaking (and not releasing) memory over time, in which case your system would eventually grind to a halt. The performance tab in Task Manager should give you an indication of whether or not this is happening.
 
Last edited:
As mentioned above, is it actually being "used" or is it just part of the cache?

If a program is gobbling it up then you can see that in task manager (expose the commit size column in the details tab, if you're not sure).

Browsers can slowly consume your memory if left open (never closed) and you don't restart the PC regularly.

The cache is not a problem, you'd usually want that memory to be used because it improves responsiveness and loading times.

To be blunt, 3 months is a VERY long time for any OS to be up for (assuming that's without a restart) and in my experience, many programs have poor memory hygiene if they're left open.
 
As mentioned above, is it actually being "used" or is it just part of the cache?

If a program is gobbling it up then you can see that in task manager (expose the commit size column in the details tab, if you're not sure).

Browsers can slowly consume your memory if left open (never closed) and you don't restart the PC regularly.

The cache is not a problem, you'd usually want that memory to be used because it improves responsiveness and loading times.

To be blunt, 3 months is a VERY long time for any OS to be up for (assuming that's without a restart) and in my experience, many programs have poor memory hygiene if they're left open.

I cannot find out where the memory is going, resource monitor and task manager both do not say anything, I cannot find out where it is going.

Is there a way to clear the cache without restarting to see if it's that?
 
If it is using all the memory and then slowing down it sounds like a memory leak, Process Explorer might reveal more information. If you have an nVidia GPU there was a couple of drivers with known memory leaks.
 
not a Windows issue, an issue with your install with whatever app or driver combos you have causing it.

I have 64GB and PC is never turned off or restarted outside of Windows Updates, RAM usage does not exceed 20GB on any given day with 2 browser windows open constantly with tens of tabs.
 
Nvidia was using a lot of ram but I install the version with all that crap taken out now so it's just a pure driver and have gone through several updates. I have nothing installed other than Steam and that isn't doing it :/ Something weird in Windows, it must be caching but it just isn't telling me, I use a really small C drive partition so if Microsoft decide to active updates again it cannot physically do it. So I'm thinking it's going to my ram instead of my drive maybe?

The only thing that Process Explorer showed was several GB in memory compression and everything else was that svhost thing. I just cannot see where it is going, the only thing is restarting Windows.
 
Task Manager -> Performance -> Memory. At the bottom it will tell you how your memory is being used.

Z1zVUNA.png
 
Nvidia was using a lot of ram but I install the version with all that crap taken out now so it's just a pure driver and have gone through several updates. I have nothing installed other than Steam and that isn't doing it :/ Something weird in Windows, it must be caching but it just isn't telling me, I use a really small C drive partition so if Microsoft decide to active updates again it cannot physically do it. So I'm thinking it's going to my ram instead of my drive maybe?

The only thing that Process Explorer showed was several GB in memory compression and everything else was that svhost thing. I just cannot see where it is going, the only thing is restarting Windows.
Ah your small drive C partition is likely the cause of problem. Is drive C size 250GB? That size is too small to use file paging for Windows virtual memory. It probably explained your Windows 11 used whole 128GB RAM as virtual memory.

I recommend you to get large 2TB SSD for OS drive to mange large virtual memory for 128GB RAM.
 
Ah your small drive C partition is likely the cause of problem. Is drive C size 250GB? That size is too small to use file paging for Windows virtual memory. It probably explained your Windows 11 used whole 128GB RAM as virtual memory.

I recommend you to get large 2TB SSD for OS drive to mange large virtual memory for 128GB RAM.

I wont be doing that, I just need Nvidia to support Linux properly so I can switch there, Microsoft do my head in. What would be good is allowing me to flush the cache instead of having to restart but Task manager isn't showing that much cached, only several GB.

I dunno what is going on, I'm done with Windows tbh, it wouldn't be so bad if they didn't force updates. So many times I've been away to find out my PC has updated and I cannot remotely access it until I get home. You can only push them back for so long before they force you and so why I had to install a custom version with all the updates disabled. However in the past it has somehow magically turned the updates back on, which is why I only have a few hundred MB free so it cannot update at all.
 
I wont be doing that, I just need Nvidia to support Linux properly so I can switch there, Microsoft do my head in. What would be good is allowing me to flush the cache instead of having to restart but Task manager isn't showing that much cached, only several GB.

I dunno what is going on, I'm done with Windows tbh, it wouldn't be so bad if they didn't force updates. So many times I've been away to find out my PC has updated and I cannot remotely access it until I get home. You can only push them back for so long before they force you and so why I had to install a custom version with all the updates disabled. However in the past it has somehow magically turned the updates back on, which is why I only have a few hundred MB free so it cannot update at all.
You can disable Windows Update with Win Update Stop tool to stop download updates when you are not at home. I tested it in virtual machines years ago, it worked very well and I used it once when my cable broadband was down and connected my mobile phone to PC to accessed internet.


I found a tool called RAMMap will allow you to flush the RAM cache without have to restart PC.



Launch RAMMap, click Empty on menu and click Empty Standby List to flush RAM cache.
 
Last edited:
I wont be doing that, I just need Nvidia to support Linux properly so I can switch there, Microsoft do my head in. What would be good is allowing me to flush the cache instead of having to restart but Task manager isn't showing that much cached, only several GB.

I dunno what is going on, I'm done with Windows tbh, it wouldn't be so bad if they didn't force updates. So many times I've been away to find out my PC has updated and I cannot remotely access it until I get home. You can only push them back for so long before they force you and so why I had to install a custom version with all the updates disabled. However in the past it has somehow magically turned the updates back on, which is why I only have a few hundred MB free so it cannot update at all.

Windows Update Blocker is the only way which will 100% prevent updates from happening (though this is a kind of nuclear option - some software does it more elegantly i.e. still updating Defender but occasionally gets defeated).

You can fudge the pause updates until setting in the registry to 20 years but even that isn't 100% fool proof.

The Windows swap system needs at least a few 100MB of free disc space for the swap/page file to work properly, disabling swap file entirely can cause memory allocation issues with some software leading to symptoms like you describe. One way to configure it is to set 1024MB minimum and maximum to at least 8192MB or higher depending on your software commit.

MS really need to pull their heads out their behind and start improving how Windows works when it comes to updates.
 
Last edited:
My PC is on 24/7. Have 64GB of RAM and usually sit at 30% usage (google uses a lot of that). Never seen it continually increase in usage though.
 
MS really need to pull their heads out their behind and start improving how Windows works when it comes to updates.
No, Microsoft did not need to pull their heads out behind and start improving how Windows works when it comes to updates because they already did it with first hotpatch KB5058497 for Windows 11 24H2 through Windows Update back on 13 May 2025. But the first hotpatch update was only available to Windows 11 Enterprise and Windows 11 Education editions, I was very disappointed the hotpatch updates was not available to Windows 11 Home and Windows 11 Pro editions yet. Microsoft did not have timeline when hotpatch updates will be available to Home and Pro editions. Hopefully soon or maybe 25H2 feature update.
 
No, Microsoft did not need to pull their heads out behind and start improving how Windows works when it comes to updates because they already did it with first hotpatch KB5058497 for Windows 11 24H2 through Windows Update back on 13 May 2025. But the first hotpatch update was only available to Windows 11 Enterprise and Windows 11 Education editions, I was very disappointed the hotpatch updates was not available to Windows 11 Home and Windows 11 Pro editions yet. Microsoft did not have timeline when hotpatch updates will be available to Home and Pro editions. Hopefully soon or maybe 25H2 feature update.

What...
 
Back
Top Bottom