Jump to content

Recommended Posts

Posted

I have a .bat that has this text:

java -Xmx4G -Xms1G -jar minecraft_server.1.12.2.jar nogui
PAUSE

and whenever I try to launch the server through the .bat it gives this error:

Invalid maximum heap size: -Xmx4G
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.

I'm on windows 10 trying to make a modded 1.12.2 server using forge 1.12.2-14.23.5.2852.

Thanks!

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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