BTW firefox was open but i had only susepaste open so that i can post my screenshots . Even after FF is closed and no applications are running approx 3.5GB RAM is in use:(
My problem is , no applications are using RAM using GUI system monitor or top but total RAM usage remains high. The processes RAM usage and total RAM usage are not adding up.
As an aside, it’s easy to get hung up on memory usage, personally I don’t worry how much free memory there is, provided the system isn’t using swap space; after all, memory is there to be used.
I didnt erase the cache as there is no point of doing that . Erasing cache might actually make my PC slower as i have a spinny boi 5400rpmlol!
Anyways , linux knows how to manage RAM usage and cache as it been 30yrs to get figured out . Might as well not bother about it
Why is it doing this? Disk caching makes the system much faster and more responsive! There are no downsides, except for confusing newbies. It does not take memory away from applications in any way, ever!
What if I want to run more applications? If your applications want more memory, they just take back a chunk that the disk cache borrowed. Disk cache can always be given back to applications immediately! You are not low on ram!
Do I need more swap? No, disk caching only borrows the ram that applications don’t currently want. It will not use swap. If applications want more memory, they just take it back from the disk cache. They will not start swapping.
How do I stop Linux from doing this? You can’t disable disk caching. The only reason anyone ever wants to disable disk caching is because they think it takes memory away from their applications, which it doesn’t! Disk cache makes applications load faster and run smoother, but it NEVER EVER takes memory away from them! Therefore, there’s absolutely no reason to disable it!