Jump to content

How to start a pre 1.17 forge server with more ram


Sitric

Recommended Posts

So as the title implies, i'm running a minecraft server on 1.16.5 with mods. as i added a few more mods i need to allocate more ram to it, problem is, i don't know how to start the server now. Normally i'd start it through cmd specifying it to open the .jar with a specific java version. but now that i'd need to run the server from a .bat file i don't know how to deal with it anymore. Could anyone please help me with this? 
Thanks in advance and sorry if this was asked before, i tried googling it before asking but didn't find much.

Link to comment
Share on other sites

G:\jdk11\jdk-11\bin\java.exe -jar forge-1.16.5-36.2.18.jar -Xmx8192M -Xms3072M -jar forge-1.16.5-36.2.18.jar 

i think i can already spot part of the problem. i put the -jar twice... ok that was stupid of me. 

where should i put the -jar server.jar part?

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.