Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Memory leak issues on 2.3.0? #176

Open
Skeithh opened this issue Feb 9, 2023 · 1 comment
Open

[Bug]: Memory leak issues on 2.3.0? #176

Skeithh opened this issue Feb 9, 2023 · 1 comment
Labels
Bug Something isn't working

Comments

@Skeithh
Copy link

Skeithh commented Feb 9, 2023

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

@Skeithh Skeithh added the Bug Something isn't working label Feb 9, 2023
@Skeithh
Copy link
Author

Skeithh commented Feb 9, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant