Report this

What is the reason for this report?

Why CentOS droplet uses so much memory?

Posted on April 11, 2014

I use digitalocean 512 Mb droplet, with centos 6.4, 32bit. I call

top -b -n1

and see that I have only 64Mb of free memory:

Mem: 510888k total, 446184k used, 64704k free, 141832k buffers

OK, I have installed OpenVPN, but it eats only 0.5%, according to ‘top’, the rest is consumed by the system and programs, which were pre-installed.

Well… may be 512Mb is a bare minimum and I should not ask for a lot, but then I create a 1 Gb droplet, with centos 6.4, 64bit, expecting to have additional 512Mb, but… when I call

top -b -n1

I see that there is only 192 Mb of free memory:

Mem: 1020400k total, 827804k used, 192596k free, 24832k buffers

Again, it is a clean system, nothing is running on it yet.

I am also using vps from another provider and the same 1 Gb CentOS 6.4, 64bit gives completely different memory picture:

Mem: 1048576k total, 278932k used, 769644k free, 0k buffers

So, what is wrong with memory usage? Is it possible to do something, to have at least 512 Mb free on a 1Gb droplet?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Linux uses free memory to cache things. This does not slow things down, and you can still use that RAM. See linuxatemyram.com for a more thorough explanation of what is happening.

What’s the output of this command? <br> <br><pre>free -m</pre> <br> <br>It’s possible that the OS is using free memory for disk caching. <br> <br>See <a href=“http://www.linuxatemyram.com/”>Help! Linux ate my RAM!</a>.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.