memory leak issues
Closed
memory leak issues
MD version is 1.4.0
before i reported memory leak issues. but after update, still same. Each time a dungeon map is created, the memory continues to occupy.
Gonna need a a heapdump I can analyze in order to investigate the cause. You can create a heapdump by running
/paper heap
, then upload the resulting file somewhere (such as google drive) for me to download and investigate.It should be noted that there is currently a known issues with the latest version of Model Engine causing a memory leak with Mythic Dungeons that has been reported to the Model Engine developer.
https://drive.google.com/file/d/1DUfnFQTKVWC3qkwaMpoUbrJafoHP2me_/view?usp=sharing
and can you check this issues? #383 this issues has persist long time ago.
added Incident More Info Needed labels
The memory leaks shared in this issue are being caused by several third-party plugins holding on to entities, preventing the world from unloading.
I am going to introduce something that should help mitigate this problem further but I cannot account for other plugins holding on to entities or other world objects. Some of these will have to be resolved by the developers of those plugins. If they aren't sure how to solve it, they can come and talk to me and I can give some pointers.
@sunshuo, your main culprit is the MMOLib plugin (aka MythicLib, which is no longer owned by the Mythic team). It seems to be holding on to arrows, specifically tipped arrows. Most of the stuck worlds are caused by this plugin.
As for @oing1215, this one's a bit more complicated. The issue you're encountering is something I thought I fixed in this version. When you start the server, do you get any warning saying something along the lines of:
WARNING: Memory leak protection isn't available on this Minecraft version!
Because if you're seeing that message, that'd explain a lot and give me an idea of what I need to do.
added Non-Plugin Issue label
Closing due to inactivity, major version changes and inability to reproduce. If this is still a relevant issue, please re-post with a modern-version server log and current steps to reproduce. Also, Marcato has already responded that this is related to another plugin. If this is happening on the newest version please re open an issue report as mentioned above.
added Can't Reproduce label