Minecraft server getting killed

I’m running my vanilla minecraft server on 512mb ram and me and 2 of my friends can play on it without any lag, but it keeps randomly shutting down like every hour and console gets freezed

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Are you seeing any error messages? On a 512MB droplet, I’d hazard to guess that you are running out of memory. Even with only a few users, you’ll be much better off with at least 1GB. You’ll probably also want to add some swap: <br> <br>

Thank yo so much! Had the same problem with NodeJS, NPM and Gulp being Killed. I was trying everything, when I found your reply and realized that I’ve forgot to configure swap!!