Error on installing minecraft
Hi guys! I tried to install minecraft and just run this command:
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
But I got this error:
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:
Can anybody help me?
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.×