Need help with out of memory crashes.

  • Thread starter Thread starter /u/New-Channel4381
  • Start date Start date
U

/u/New-Channel4381

Guest
I host Minecraft Forge server on 1.20.1 with average of around 10 players online, with peaks around 15 players online. The modpack consists of 153 mods I think. I rented a hosting for this server that has 4 vCpu and 14GB rams, but the server keeps getting out of memory crashes. The server is a docker container.

I was wondering if the issue is with launch flags, as when I ran a local server with the same mods I didn't notice any memory leaks, and the launch flags seem weird.

Here are the launch flags:

java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar server.jar

I can only add launch arguments directly before -jar.

Also the client works fine with just 5120 MB of ram.

Mod list: https://mclo.gs/UHhKfoE

submitted by /u/New-Channel4381
[link] [comments]

Continue reading...
 
Back
Top