Hi, I am trying to setup a forge server to run with friends. I can get the server up and have people join on vanilla. But i tried dowloading a large modpack and it said i did not have the 4gb of ram needed. However when i made the run.bat file i used 4096 on both numbers. When i tried to run the mod it said i only had 2gb of ram. Confused why it wont use the 4 and why it "defaults" to 2gb. I have 16gb of ram in my pc.
nope. still says 2gb. If i run it through curseforge it works tho cuz i can change the amount of ram allocated. i dont think i can run the server through curseforge tho
Hi, I am trying to setup a forge server to run with friends. I can get the server up and have people join on vanilla. But i tried dowloading a large modpack and it said i did not have the 4gb of ram needed. However when i made the run.bat file i used 4096 on both numbers. When i tried to run the mod it said i only had 2gb of ram. Confused why it wont use the 4 and why it "defaults" to 2gb. I have 16gb of ram in my pc.
Add the lines of your run.bat
Also make sure have java 8 jre installed:
https://www.java.com/en/download/
java -Xmx4096M -Xms4096M -jar forgeserver.jar nogui
PAUSE
Ive also tried with more ram always just says 2gb when i try and run modpack. i have deleted and reinstalled java 64 bit
Test it with the lowercase "m"
java -Xms4096m -Xmx4096m -jar forgeserver.jar nogui
nope. still says 2gb. If i run it through curseforge it works tho cuz i can change the amount of ram allocated. i dont think i can run the server through curseforge tho
Post the entire server log using paste.ubuntu.com.