Jump to content

Error with bat file to start a Forge Sv


remay_

Recommended Posts

Hello, I'm not really sure if this is supported or you can help me but I've created a forge server like many times i've done it before and now it seems like the bat file to use more Ram doesn't work. When I double click it, it just opens and closes instantly and if I put pause in the final of the file, this is what it says.

Invalid maximum heap size: -Xmx8G
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Idk why the maximum heap size it's invalid because I have more than that Ram to use so I'm confused

This is the line I use in the file java: -Xmx8G -Xms8G -jar sv.jar nogui
pause

Could you give me some help, pls?

 

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.