By Blaauwkoen
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000caf50000, 715849728, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 715849728 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /root/minecraft/hs_err_pid6462.log
I followed this tutorial: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-minecraft-server-on-linux
Can anybody help me?
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!
What size droplet are you using. The two arguments you have in that command are minimum and maximum memory for the java process to use. If you are using less than a 2GB droplet you won’t have 1GB of available memory to allocate. Try either upgrading to a larger droplet or specifying a smaller memory allocation.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.