Just Enough Items (JEI)

Just Enough Items (JEI)

369M Downloads

[Performance]: Memory Leak of Client Player

pietro-lopes opened this issue ยท 1 comments

commented

Steps to Reproduce the Bug

private @Nullable IRecipeLayoutList cachedRecipeLayoutsWithButtons;

  1. Load a world
  2. Open Jei
  3. Change dimensions

image

Expected Behavior

Cached objects that contain ClientPlayer should have a cleanup/update logic as ClientPlayer is discarded on Clone (dimension travel and death for example)

Actual Behavior

Leaks Client Player, Level, everything related to player.

Mod Pack URL (Optional)

No response

Mod Pack Version (Optional)

No response

Extra Notes (Optional)

No response

latest.log

check image

commented

Thanks for the report!
I have fixed the issue by avoiding storing the client player at all, and it will be released shortly.