Iceberg [Forge]

Iceberg [Forge]

48M Downloads

Memory Leak of Client Level

pietro-lopes opened this issue ยท 0 comments

commented

Those 2 caches might need a cleanup strategy when level is unloaded, maybe on LevelEvent.Unload?

private static final Map<Level, EntityCollector> wrappedLevelsMap = Maps.newHashMap();

private static Map<Pair<Item, DataComponentMap>, List<Entity>> entityCache = Maps.newHashMap();

image