Lychee (Neo/Forge)

Lychee (Neo/Forge)

2M Downloads

Memory Leak of Client Level

pietro-lopes opened this issue ยท 3 comments

commented

Those entities all holds a level, which are destroyed when a player teleports to other dimension

public static final CachedRenderingEntity<LightningBolt> LIGHTNING_BOLT = CachedRenderingEntity.ofFactory(EntityType.LIGHTNING_BOLT::create);

Image
commented

also, please don't delete the issue template

commented

I did clean it up https://github.com/Snownee/Lychee/blob/1.21-neoforge/src/main/java/snownee/lychee/util/render/CachedRenderingEntity.java#L116

That might not be working, because the screenshot shows the level is there

and I didn't delete template, I was browsing the code and clicked "Reference in new issue"