Can't start private server
Bmf225 opened this issue ยท 1 comments
Whenever I try to start the server I get an error and the server closes, I'm using the following to start the server:
@echo off
set MAX_RAM=8G
set MIN_RAM=8G
set FORGE_VERSION=36.2.20
if not defined CREATE_JAVA (
set CREATE_JAVA=java
)
:START
"%CREATE_JAVA%" -Xmx%MAX_RAM% -Xms%MIN_RAM% -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=32M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar forge-1.16.5-%FORGE_VERSION%.jar nogui
echo Restarting automatically in 10 seconds (press Ctrl + C to cancel)
timeout /t 10 /nobreak > NUL
goto:START
pause
Even when using the start command present in the wiki, I get the same error
I'll also include the forge-installer logs just in case it's something wrong there
Google is your Friend.
https://www.reddit.com/r/Minecraft/comments/s7ce50/serverhosting_forge_minecraft_keeps_crashing_on/
McModLauncher/modlauncher#91
Downgrade the Java version you use to run the Server.