Report this

What is the reason for this report?

Minecraft server out of memory

Posted on 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



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.

Thanks! it’s works

Hi,

Try adding some swap space to your droplet:

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

Hi @tomrusticus,

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

https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-22-04

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.

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.