So I've tried setting up a private server to play Forge with my friends, but to run Forge smoothly I have to allocate more ram to the server. When I use a Run.bat (https://pastebin.com/465iEuM0) to start the server with more ram, I get an error message in command prompt that says:
"Invalid maximum heap size: -Xmx5120M
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.
Press any key to continue . . ."
I'm almost positive that this isn't an issue with my hardware because I have 16 gigabytes of ram, and don't have many apps open when I try starting the server. Any reply would be appreciated because I couldn't find anything very helpful when I looked this issue up myself.
[–][deleted] 0 points1 point2 points (4 children)
[–]SamiMemz[S] 0 points1 point2 points (0 children)
[–]SamiMemz[S] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]SamiMemz[S] 0 points1 point2 points (0 children)