Multiverse/Multiverse-Adventure — Issue #8: Memory Leaks caused by the Bukkit api
Author: snowleo
Created: 2012-01-11 01:22:18+00:00
State: open

Every time you reset the world and any other plugin holds a reference to that world, it is leaked.

I experienced this with dynmap first. I have to disable the adventure maps there.

Then I found another leak in Multiverse-Core, when you have an anchor in that world, the first loaded World is leak too. Not as bad as the dynmap one, because it only happens on the first reset (or any reset after you create a new anchor).

But this is issue is not only about those 2 plugins, every plugin that is storing a Location or World object for the reseted world can lead to a memory leak.