Memory Issue with InteractionTracker
For over two weeks, we have been experiencing a memory issue where even with 20GB allocated, the server requires a restart every 4–5 hours.
When using MysticMobs with ModelEngine to summon mobs, unloading the world does not properly release memory, causing the world to remain referenced.
Heap dump analysis indicates that ModelEngine's InteractionTracker retains references to ModeledEntity, which in turn stores chunk data, leading to a memory leak.
To resolve this issue, it would be greatly appreciated if InteractionTracker could release references to ModeledEntity when the world is unloaded.
ModelEngine is an essential and outstanding plugin for our server, and we sincerely hope this issue can be addressed.
Minecraft: AdvancedSlimePaper 1.21.1 MythicMobs: 5.8.0-SNAPSHOT-6fa727a1 ModelEngine: R4.0.8 (latest development build)