Server crashing with code 137

Running a heavily modded, 8gb 1.20.1 Forge server through Witherhosting, and it crashes after playing on it for 5-10 minutes with the exit code 137. Here are the startup arguments I have for it: java -Xms128M -XX:MaxRAMPercentage=70.0 -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+UseContainerSupport -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 -Dterminal.jline=false -Dterminal.ansi=true $( [[ ! -f unix_args.txt ]] && printf %s "-jar server.jar" || printf %s "@unix_args.txt" )
27 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by ethonodon#0
Loudbook
Loudbook5w ago
That's just OOM It's trying to use more than 8GB You also didn't set an Xmx in those args
Ethonodon
EthonodonOP5w ago
does -XX:MaxRAMPercentage=70.0 not try to prevent OOM though?
Loudbook
Loudbook4w ago
It does but removing them all is more than a test
ProGamingDk
ProGamingDk4w ago
can you make a spark report and send here?
Ethonodon
EthonodonOP4w ago
what is a spark report?
ProGamingDk
ProGamingDk4w ago
!spark
Carl-bot
Carl-bot4w ago
Spark Profiler
Spark can be used to see why your server or client is lagging. Users can share a spark report via /spark profiler start --timeout 300 which creates a report after 5 minutes. The spark report is useful in debugging why your server is lagging, so ideally you should always provide one while asking for support. Download | Website | Docs
From An unknown user
Admincraft Canned Responses
ProGamingDk
ProGamingDk4w ago
lets us see what flags the server actually tried to use, accurate memory usageetc
Ethonodon
EthonodonOP4w ago
there's no spark version for 1.20.1
ProGamingDk
ProGamingDk4w ago
there is
ProGamingDk
ProGamingDk4w ago
CurseForge
spark
spark is a performance profiler for Minecraft clients, servers and proxies. 102.3M Downloads | Mods
Ethonodon
EthonodonOP4w ago
ah it just wasnt listed on the website
Ethonodon
EthonodonOP4w ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Ethonodon
EthonodonOP4w ago
is this it?
Admincraft Meta
Spark Profile Analysis
❌ Processing Error
The bot cannot process this Spark profile. It appears that the platform is not supported for analysis. Platform: Forge
Requested by ethonodon
Skullians
Skullians4w ago
... why do you have distant horizons on the server
Ethonodon
EthonodonOP4w ago
because I want distant horizons on the server is that a bad thing?
Loudbook
Loudbook4w ago
that's not how DH works DH is a client mod
Ethonodon
EthonodonOP4w ago
no, there's a serverside version, which is what I'm using
Loudbook
Loudbook4w ago
oh well that makes sense then
Ethonodon
EthonodonOP4w ago
is there any useful info in the spark report?
Loudbook
Loudbook4w ago
i don't think we ever did my suggestion...
Skullians
Skullians4w ago
where? oh I see
Exos
Exos4w ago
shoutout to this thread for making me find out there’s a DH Bukkit plugin to make the server send LOD info to clients
Ethonodon
EthonodonOP4w ago
yeah the serverside version is pretty awesome anyways is there anything in the sparky report that tells anything useful?
Loudbook
Loudbook4w ago
😐

Did you find this page helpful?