-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid maximum heap size #589
Comments
I tried with "-Xmx1G -Xms1G" and it seems like it was, however, it gave another error:
|
I installed java 1.8.0_311 and forge-1.16.5-36.2.26 (only in the server folder) and it seems to have worked.... I'm playing with my friend like this. I believe that if you install just forge-1.16.5-36.2.26 it might work well... You have to test it... |
Can you post the output of running I suspect you're running a 32-bit version of Java which does not support heap sizes above 4 GB. The default downloader on the Java website is 32-bit. |
The other issue you ran into is probably related to #434, looks like a Java/Forge compatibility issue. |
@glektarssza Yes!
|
Okay, you've got a 64-bit version of Java. That's good. I'll check my configuration once I'm off work in about 1.5 hours. I know I'm running with 8 GB of RAM allocated to Minecraft but I did need to update my version of Forge and Java. I'm using the latest of each, so latest Forge for 1.16.5 and the latest Java 8 JRE. Version numbers will be posted shortly. |
Alrighty. I'm using:
JVM Arguments:
|
Hello,
I'm having the following error when running the run.bat that I created inside the server folder with the following command lines copied from your wiki :
After executing this file, the following message appears in cmd:
If I try to open "forge-1.16.5-36.2.20.jar" it doesn't work. Nothing happens.
I already tried reducing "-Xmx8G -Xms8G" to "-Xmx4G -Xms4G" and it gave the same error...
When I download the server files folder in curseforge it already comes with "forge-1.16.5-36.2.20-installer.jar", so, apparently, the server folder itself that is in curseforge installs forge version 1.16.5-36.2.20. Should I install forge version 1.16.5-36.2.8?
My settings:
Windows 11
JAVA 8
forge-1.16.5-36.2.20
16GB RAM
The text was updated successfully, but these errors were encountered: