Report this

What is the reason for this report?

How much maximum swap can be added?

Posted on May 2, 2014

I want to run a public minecraft server so I would want to know how much max swap can be handled on al the various plans.



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.

There isn’t any limitation on the size of a swap file (or at least there hasn’t been since 1999). The general rule of thumb that people use is to have twice your memory in swap. So if you have 1 GB of RAM, you want 2 GB of swap. That rule dates from back when memory was much more expensive. Many feel that creating more than 2 GB of swap is just a waste of harddrive space. Just remember swap isn’t a replacement for memory. Even with solid state drives, if you are relaying constantly on swap things are going to slow down.

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.