Out of memory error when loaded on server

Exit code: 137netherhost~ Out of memory: truenetherhost~ Checking server disk space usage, this could take a few seconds...netherhost~ Updating process configuration files...netherhost~ Ensuring file permissions are set correctly, this could take a few seconds...netherhost~ Server marked as starting...netherhost~ Pulling Docker container image, this could take a few minutes to complete...netherhost~ Finished pulling Docker container imagenetherhost~ java -versionopenjdk version "21.0.8" 2025-07-15 LTSOpenJDK Runtime Environment Temurin-21.0.8+9 (build 21.0.8+9-LTS)OpenJDK 64-Bit Server VM Temurin-21.0.8+9 (build 21.0.8+9-LTS, mixed mode, sharing)netherhost~ java -Xms128M -Xmx24064M -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -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 @unix_args.txt
Aikar's Thoughts
Learn more about my In depth study on tuning the G1GC garbage collector to be optimized for how Minecraft servers run, and keep low pause efficient usage.
Was this page helpful?