Jump to content

Minecraft Server hosting help

Hello, i'm trying to host a RlCraft  Modded Server on minecraft for me and my cousin. I have downloaded everything and have successfully launched/played the server by myself, but with great lag. I go to by .bat file and try to edit the -xmx and -xms values to all kinds of ammounts ranging from 1024M to 8024M... none work. The last one i ran was (@ECHO OFF java -Xms2024M -Xmx2024M -jar server.jar nogui pause), but when i return to launch my server it says "Error occurred during initialization of VM - Could not reserve enough space for 2072576KB object heap - Press any key to continue . . ." the server will only run with 1024M in the values, anything else it crashes or will give me another random error code. I use an alienware 17 R5 with 16gb of ram... any help with be appreciated! :)

 

below i have attached my start.bat file for review

start.bat

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, elpiop said:

make sure you are running the command with 64 bit java

Thank you very much! Server works now.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×