Jump to content

cannot run server from batch file


TGxLEGENDz

Recommended Posts

hi i cannot seem to run my server from a batch file, so that i can increase the amount of ram dedicated to my server. i created a batch file named start in the correct folder, and when i run my batch file it runs my server, and everything seems to go as planned, and it loads all the mods and everything. it will even say done at the end, but then i cannot connect to the server, and neither can any of my friends. i know i have my server set up properly because when i run the server by just double clicking on it, and not using the batch file it works just fine, i just cant dedicate any extra ram to the server the code i used in my batch file is

 

java -Xmx5120M -Xms5120M -jar forge.jar nogui

pause

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.