EvilCraft

EvilCraft

28M Downloads

Memory Leak of Server

pietro-lopes opened this issue ยท 1 comments

commented

Issue type:

  • ๐ŸŒ Performance issue

Short description:

This field is storing statically this event, which contains Entity, that contains ServerLevel that contains MinecraftServer.

You may want to add a cleanup strategy or rework this to not hold the event.

Steps to reproduce the problem:

  1. Join World
  2. Punch a skeleton in the face
  3. Leave world to Main Menu
  4. Check memory for objects, and server, levels, entity are all there.

Versions:

  • This mod: 1.2.51
  • Minecraft: 1.21.1
  • Forge: 21.1.23

Profiler output:

image

commented

Thanks for reporting!