Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Leak of Server #1051

Closed
pietro-lopes opened this issue Aug 28, 2024 · 1 comment
Closed

Memory Leak of Server #1051

pietro-lopes opened this issue Aug 28, 2024 · 1 comment

Comments

@pietro-lopes
Copy link

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

@rubensworks
Copy link
Member

Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants