Minecraft server out of memory

  • Posted December 25, 2014

Dear people of the Digital Ocean community,

I bought a Digital Ocean 2 days ago. I am running a minecraft server on it, for developing of plugins. So sometimes it’s crashing, it says I have not very much Ram. I have a server with 1 GB ram,my minecraft server show this on my screen error: Click start code: Click Can a add more ram to a Java run? Greets. Tom Rusticus


Submit an 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.

Hi @tomrusticus,

Well, my first suggestion would be to add SWAP to your Droplet. You can see how to do that here:

I won’t recommend more than a GB of SWAP to be added.

Regarding priority, you can’t simply just do that, other services also require RAM so you’ll need to make there is enough for everybody so to say, otherwise your Droplet will start killing processes.

As such, try with the SWAP and if that doesn’t work, I’ll suggest upgrading to the next plan.

Thanks! it’s works


Try adding some swap space to your droplet:

It should help prevent your server from completely running out of memory.