All the Mods 9 - ATM9

All the Mods 9 - ATM9

11M Downloads

[Bug]: Extremely Excessive Memory Usage

Krutonium opened this issue ยท 2 comments

commented

Possible Fixes

No

Modpack Version

0.3.0

What happened?

I have been hosting this server for a group of friends for a while now, and recently it has started eating RAM like it's going out of style, even when nobody is online. I have tried tuning GC settings, changing what GC is used entirely, different versions of Java (17, 21), adding and removing mods that claim to help with memory usage, etc.

At this time, when I start the server up, even if nobody connects, it starts at 22GB of RAM in use. Without any interaction, that number will tick up until it reaches the full allocation - 32GB - And then start running the GC in a tight loop, until the watchdog mercy kills the server.

Image

I've made a heapdump using spark, that's about 32GB so not readily sharable. https://spark.lucko.me/Oz6wo1AYJl Here's a heap summary though.
The summary agrees with the information I got while remote debugging the server using VisualVM 2.1.10

Image

I have no idea what's going on, and even upgrading to the latest version of the pack (which hurts as it breaks some stuff) doesn't fix it.

Any tips or ideas that might fix it?

latest.log

https://gist.github.com/Krutonium/acf35592a92af6749a266a11c538ee05

Developer reports

No response

commented

After doing a bunch of digging, I think the issue is the Entangled Block from Entangled, Specifically when used cross dimensional to the Everbright. Will keep updated as investigation progresses.

commented

Alright so:

The everbright as it turns out seems to have been corrupt in some fashion - Honestly not sure how - and was spilling back through the entangled blocks to the overworld.