Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Model Engine 4 Model Engine 4
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 105
    • Issues 105
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • Model Engine 4Model Engine 4
  • Issues
  • #180

Closed
Open
Created Feb 02, 2025 by flowGH1@flowGH1

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) image

Edited Feb 03, 2025 by flowGH1
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking