Portal Home > Knowledgebase > Technical Questions > Why can't I clear RAM cache or buffers on Linux VPS?

Why can't I clear RAM cache or buffers on Linux VPS?

You do not need to clear your RAM cache. Linux has many decades of excellent memory management design built-in and will automatically free cache memory as memory pressure increases within your VPS. You can trust that Linux will release cache as necessary and won't let the system run out of memory just so it can continue to store things in cache.

The cache is a good thing and improves the performance of your VPS by using unused memory to buffer frequently-accessed files.

Clearing it will not solve any real or perceived problems. 

More info and proof of concepts available here: https://www.linuxatemyram.com/

Was this answer helpful?
My disk quotas are not working. What to do?

For our Linux VPS line: Second level quotas are enabled by default.For Premium VPS line: You can...

Kubernetes support on VPSDime Services

Full-stack k8s Kubernetes is not supported on our Linux VPS plans, as with the OpenVZ 7...

How do I set reverse DNS (RDNS/PTR)?

Please simply open a ticket. Make sure your hostname actually resolves the IP address before...

My VPS is using too much memory. What's wrong?

It probably isn't. You may be reading it incorrectly. Please refer to http://www.linuxatemyram.com/

Error: Failed to detect code [xnxnxnx] in SYSLOG_LOG [/var/log/messages]

The root cause of the issue is a current known bug with the imjournal module for rsyslog that...