Skip to content

Attempts to combat more memory leaks in vanilla chunk system - #492

Draft
ishland wants to merge 2 commits into
pop4959:masterfrom
ishland:fix/more-leaks
Draft

ishland wants to merge 2 commits into
pop4959:masterfrom
ishland:fix/more-leaks

Conversation

@ishland

@ishland ishland commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Also updates tooling because it was using a prerelease version of neo-loom.

Changes:

  • Further guards memory leak race condition in entity chunks
  • Attempts to boost priority of unloading chunks higher than most other chunk loading tasks, so chunks unloads more quickly. This may slow down pregen but it's for the better.
    There's also a patch to mitigate a vanilla chunk system bug where priority are not applied properly due to a race condition in vanilla.

Would like some review before I port these changes to forge and neoforge.

This branch has not been deployed

No deployments
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.

1 participant