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 fixes #1285

Merged
merged 3 commits into from
Oct 16, 2014
Merged

Memory leak fixes #1285

merged 3 commits into from
Oct 16, 2014

Conversation

flo
Copy link
Contributor

@flo flo commented Oct 16, 2014

This pull request fixes some memory leaks:

After starting a game and returning to the main menu the memory usage reported by the Eclipse Memory Analyzer was about 80 MB. With this fixes the reported memory usage in the same situation is now about 12 MB.

flo added 3 commits October 16, 2014 10:43
It was not properly clearing the field storageManager, which in turn was
still referencing the entity manager.
The liquid wrapper references indirectly the entity manager.
So not disposing it caused a big memory leak.
…ads creating chunks.

Otherwise the chunk monitor can end up with references to chunks,
after the chunk provider disposal is done.
immortius added a commit that referenced this pull request Oct 16, 2014
@immortius immortius merged commit a69cac6 into MovingBlocks:develop Oct 16, 2014
@Cervator Cervator mentioned this pull request Oct 17, 2014
6 tasks
@flo flo deleted the memory-leak-fixes branch October 18, 2014 10:47
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

Successfully merging this pull request may close these issues.

2 participants