Skip to content

blinearv3 support - #166

Open
cgw2023 wants to merge 6 commits into
granny:v3from
cgw2023:v3
Open

cgw2023 wants to merge 6 commits into
granny:v3from
cgw2023:v3

Conversation

@cgw2023

@cgw2023 cgw2023 commented Sep 4, 2026

Copy link
Copy Markdown

# Conflicts:
#	core/src/main/java/net/pl3x/map/core/world/ChunkLoader.java
# Conflicts:
#	gradle/libs.versions.toml
- call RegionScanTask.cleanup() in a finally block; CompletableFuture.allOf
  retains every task until the whole world scan finishes, so each scanned
  region kept its renderers (1MB TileImage per renderer) alive for the
  entire scan (~N*renderers MB retained)
- add Region.releaseChunks() and call it after saveImages() so completed
  regions no longer keep ~1024 parsed chunks (sections, packed arrays,
  per-column BlockData) cached for the remaining cache lifetime;
  chunks are re-loaded lazily by Region.getChunk() if needed again
- lower World region cache maximumSize from 100 to 16 regions to bound
  the retention of fully parsed regions

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