Having trouble allocating more memory to my forge server.
Running MacOS High Sierra on an old Mac Pro tower, 4 core Xeon with 24GB RAM and an RX480 GPU.
My Java version is Java 8 Update 221.
My process to get the server running was as follows:
Downloaded forge-1.12.2-14.23.5.2847-installer.jar from the forge website.
Ran the installer, pointed it to /Users/Me/MinecraftServer, using the “Install Server” option.
Install completes, MinecraftServer folder contains a folder called Libraries, minecraft_server.1.12.2.jar and forge-1.12.2-14.23.5.2847-universal.jar
Ran minecraft_server.1.12.2.jar, then changed Eula.txt to true.
Ran minecraft_server.1.12.2.jar again and let the server fully load.
Server Log 1: https://pastebin.com/SUE4hLcb
Stopped server using Stop command.
Next, ran forge-1.12.2-14.23.5.2847-universal.jar
Server launched and ran, let it finish setting up.
Server Log 2: https://pastebin.com/7dgNRnVi
Stopped server using Stop command.
Created new TextEdit document with contents:
java -Xmx2048M -Xms1024M -jar forge-1.12.2-14.23.5.2847-universal.jar
Saved in plaintext format as ServerLaunch.sh
Opened terminal and CD into /Users/Me/MinecraftServer
Ran command following command:
sh ServerLaunch.sh
Terminal Output: https://pastebin.com/GJzySZnj
The server still runs fine if I open forge-1.12.2-14.23.5.2847-universal.jar from the finder window using the jar launcher on MacOS.
Any advice? I've tried with different releases of forge and this same thing happens with all of them.
Thank you in advance, if there's any information needed that I've missed I'm happy to provide it.