Saved to cache question

AntonyKoutsos

Reputable
Nov 15, 2014
111
0
4,690
So i just noticed that in the task manager in the ram tab there is saved to cache(if i made the translation correctly) with a number below it. I had the pc open for two days since i was doing something and i had to leave it open. That number reached 10-13gb. I restarted the pc and now that number is on 2.5gb and its going up.

I was just wondering what exactly is it, and i couldnt find it somewhere(propably couldnt translate it correctly to get the results i was looking for).
 
Solution
Overwriting cache makes no difference to writing on free ram which is why cache helps performance. Cache is not being used by any open software, it's just extra space to store temp files to speed things up. It will overwrite that cache if your used ram amount goes up. It only writes to the ssd when the used amount fills up the ram.
Windows loads commonly used or recently opened files into ram as the cached amount. This is to help performance instead of waiting for the slow hdd. It's normal to have the cache fill any unused ram once you have the pc on for a few hours maybe less.
 

AntonyKoutsos

Reputable
Nov 15, 2014
111
0
4,690


I see i just found it weird that it was so high. And when it was at the 13gb there was no free ram, it was basicly 25-30% for the programs(mainly chrome) and the rest was waiting(saved on cache). One more thing i am guessing that once you reach the max(max the unused memory) it starts re-writing the old ones? Or does it starts writing on the ssd? And will reaching max amount cause any problems?
 
Can you post a screenshot?
I can't understand what you are talking about.

Update: okay, I understand but it's helpful to find out what program that is.

Task Manager, on bootup, should display a buffer of roughly 3GB of memory if you have 8GB or more physically installed. This will VARY by PC. This includes the Windows files, program files etc.

Task Manager itself should not use much memory. If so, I would think there is something wrong.

I have about 12MB right now, and I don't think it ever hit 30MB. It's just using memory to display the memory, CPU usage etc that OTHER programs are using, so...

I can't seem to GOOGLE the issue since TM pops up anyway in its normal functionality of displaying other programs with high memory usage.

I would:
a) REBOOT
b) run scannow etc http://pcsupport.about.com/od/toolsofthetrade/ht/sfc-scannow.htm
c) Memtest86 www.memtest86.com (full pass), or at least do "memory diagnostic" (about 30 minutes per 8GB)
d) Shut down programs a few at a time (hassle). In particular, disable
e) worst-case (if W10 do an "in-place upgrade" and if not successful plan carefully and reinstall Windows 10)

Other:
a) Normally programs eat up memory, and if you run out Windows memory manager can use the Pagefile (writes to main SSD or HDD), or shuts down programs

Not a solution to your issue, but it may help avoid a crash if you increase it to "system managed"
http://www.pcworld.com/article/2840886/if-windows-virtual-memory-is-too-low-you-can-increase-it-but-there-are-trade-offs.html

b) 5GB (if 16GB installed) is typical for me with heavy usage. Can go higher if Google CHROME is open, however it will specifically show which PROGRAM is eating up memory (Google Chrome shows one per tab to make it hard to crash everything). Exceptions are things like Microsoft Search.

c) rewrite "old" memory?
I don't understand. Memory simply gets used up until you run out like putting shoes into boxes at a bowling area. You must MOVE or DELETE the data to free up space for new data if you run out.

d) what happens if it is used up?
Your system can crash, shut down under control, or flush data. It depends on how well the memory manager and other functionality is working. It may dump data that is deemed low in priority first, then data it wouldn't normally dump.

So...

I'll look into it if I can find anything, but I've not heard of it before. Sounds like possibly data corruption, perhaps caused by system memory issue or main drive issue.
 
Overwriting cache makes no difference to writing on free ram which is why cache helps performance. Cache is not being used by any open software, it's just extra space to store temp files to speed things up. It will overwrite that cache if your used ram amount goes up. It only writes to the ssd when the used amount fills up the ram.
 
Solution


Yes, but... so?

He should not be using 13GB of his system memory for something like this. The PAGEFILE it's completely separate, as the entire POINT of this is to write to the slower, main OS drive if the fast system memory is used up. As you've said.

So I'm not sure how this helps him in the slightest, unless your comment was simply to point out how the Pagefile works. He has a problem. Something is eating up his system memory. I'm not sure how this helps him solve the issue.

With 16GB installed I would expect roughly 3GB to be used on bootup, and more if he opens things like Google Chrome. I have NEVER gone above 8GB in three years.

Nor do I have anything listed using up memory like he describes.

Other:
Have you done anything abnormal like create a "RAM CACHE" (you'd know), or use any programs that sound like they mess with memory somehow?
 

AntonyKoutsos

Reputable
Nov 15, 2014
111
0
4,690
Thanks a lot, i get how it works now.

Photonboy you are talking about a different thing. You are talking about the ram you use at the moment, I dont have a problem with ram, i was just curious about how it works. If you read k1114 replies you will understand.

Everything is as you said tho, i use with chrome open 4-5gb and the task manager alone uses 12mb. That becames free memory when i close the programs.
 

AntonyKoutsos

Reputable
Nov 15, 2014
111
0
4,690


I am talking about a specific part on performance tab of task manager that mentions the "saved on cache". Something that i dont know if previous windows display it (i use windows 10). The RAM usage is as you said, only once it went beyond 8gb, and that was because of Battlefield 1(a really recent game that propably requires 16gb of ram). My bad it is late and i didnt type it correctly.
 


We're talking about cached ram here. He never said he had high ram usage. He said he had a high cache amount, the 10-13gb which makes sense for someone with 16gb ram. There are a couple different listed amounts in task manager or resource monitor for the past couple of windows version (which is why I didn't bother with asking about version). It's all self evident by the name if you know what it all means.

Honestly beyond total and used, you can ignore the other amounts and let windows do its thing.
 

AntonyKoutsos

Reputable
Nov 15, 2014
111
0
4,690
Curiosity got the better of me. And its that i still havent seen everything that windows 10 has to offer. I was sure that it wasnt a problem or anything, after all i could see that there was nothing wrong with ram. It showed that i have 16gb, and that i currently use 4gb and 12gb are free for me to use.