All the Magic Spellbound - ATMS

All the Magic Spellbound - ATMS

836k Downloads

[Bug]: Memory leak issues on 2.3.0?

Skeithh opened this issue ยท 1 comments

commented

Possible Fixes

Yes

Modpack Version

other

What happened?

Since we've started playing on our server with this pack, all players have been suffering from the occasional memory-leak "boot from the server" with the occasional need for a total restart of the game.

We're unsure of what could be causing this as I can not identify anything unusual in the logs, but here's the latest.log anyway

Alterations we made to the pack:

  • We removed helpingherds from the pack due to a rare but annoying server crash that it can cause
  • This memory issue occurs without optifine installed, all three of us have tested to see if that was the culprit and it was not the case.

All of us have dedicated 6-7GB of RAM to the game so it has enough overhead if necessary.
We also attempted to mitigate the issue with the following JVM arguments, and it feels like it does delay the issue, but not entirely stop.
-XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1MaxNewSizePercent=60 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M

Serverside, there is nothing in the server logs suggesting any issues between player and server- it simply notes the player disconnected.

Version we're using is the one available on the curseforge launcher- 2.3.0.

Once we get another crash I'll post the exact error message here- I entirely forgot to screenshot it before clicking away.

latest.log

https://gist.github.com/Skeithh/081398997564901bd63f08e03571304b

commented

managed to capture the text:

Connection Lost
Internal Exception: io.netty.util.internalOutOfDirectMemoryError: failed to allocate 4076 byte(s) of direct memory (used:7918844226, max: 7918845952)