Like u can see on the picture it says it can't make space for 4Gb object heap. In the picture it shows i have 16GB of memory. And task manager shows that i have 11-10Gb free space.
Check your Minecraft profiles to make sure it use the 64-bit Java.
Rollback Post to RevisionRollBack
Say something silly, Laugh 'til it hurts, Take a risk, Sing out loud, Rock the boat, Shake things up, Flirt with disaster, Buy something frivolous, Color outside the lines, Cause a scene, Order dessert, Make waves, Get carried away, Have a great day!
Like u can see on the picture it says it can't make space for 4Gb object heap. In the picture it shows i have 16GB of memory. And task manager shows that i have 11-10Gb free space.
I am using
I am using
Check your Minecraft profiles to make sure it use the 64-bit Java.
I have. And it says its 64bit
Post the results after executing the following command in a command prompt: java -version
Uninstall every single java you have currently. Download the latest 64-bit java https://java.com/en/download/manual.jsp
Sometimes if you have a more than one version of java installed, it will use the older one.
Make sure the only java command you are using to launch your server is " java -Xmx4G -Xms4G -jar yourjarname.jar "
Leave a thanks if I helped you!
It seems it worked thx.