Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Minecraft Server gets killed on Ubuntu 20.04 droplet
I’m running a Minecraft server with 4Gb of ram, and only a couple of plugins. It’s being randomly killed with no error messaged.
I used this command to start the server, which leaves a bit of excess memory for the os and other things.
java -Xms1024M -Xmx2840M -jar spigot-1.16.4.jar nogui
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.×