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

(1.12) Memory Leak: PlayerContainerListener#LISTEN_MAP #108

Open
Meldexun opened this issue Dec 21, 2021 · 0 comments
Open

(1.12) Memory Leak: PlayerContainerListener#LISTEN_MAP #108

Meldexun opened this issue Dec 21, 2021 · 0 comments

Comments

@Meldexun
Copy link

The PlayerContainerListener#LISTEN_MAP map will be populated whenever a player joins a world server side. The problem is that the map never gets cleared.

When joining a singleplayer world and then joining a server afterwards the map will still contain an entry. And this means the player object of the singleplayer world and the world object will remain in memory.

Another problem can happen on dedicated servers. When joining a server, going to the nether and then leaving the server will cause the player object with the nether world to be loaded in memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant