webbukkit/dynmap — Issue #551: Unloading a world does not remove reference
Author: snowleo
Created: 2012-01-11 04:04:05+00:00
State: open

All worlds are stored as DynmapWorld in MapManager class. It seems that dynmap is not listening to the WorldUnloadEvent. So it does not remove a world, when it is unloaded.

The result of this is that the World is kept in memory, because it has a reference in DynmapWorld. So the GC can't remove it.

I can prevent this by disabling the world in worlds.yml, then it is not added to the list in MapManager.