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?
Can I run Docker on my VPS?

Docker is fully supported for our Linux VPS and Premium VPS plans.It has been enabled by default...

ufw is not starting and returning nf_conntrack_ftp module not found

You may receive the following error message while trying to enable ufw (ufw enable):ERROR:...

OpenVPN fails to start. How can I resolve it?

If you cannot start OpenVPN on your VPS with Ubuntu 18.04, Debian 9 or CentOS 7 with the...

Control panel shows memory usage higher than my free -m. What gives?

Control panel shows the cached memory as used as well. Your free -m shows the actual result.To...

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

If you see a message like the below when you are trying to connect to your VPS using SSH, it's...