Data Anchor - Au Naturel Edit

A utility library used by other mads

File Details

Data_Anchor-forge-1.20.1-1.0.0.21.jar

  • R
  • Dec 27, 2025
  • 114.79 KB
  • 12
  • 1.20.1
  • Forge

File Name

Data_Anchor-forge-1.20.1-1.0.0.21.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:data-anchor-au-naturel-edit-1414217:7383512")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Fixed a memory leak caused by circular references between ImposterProtoChunk instances and their TrackedDataContainer objects. ImposterProtoChunk is a temporary wrapper used during world generation that was being retained indefinitely due to the container's anonymous inner class holding a strong reference back to the chunk.

Changelog

Fixed

  • Memory leak preventing garbage collection of ImposterProtoChunk and associated LevelChunk instances
  • Heap dumps previously showed ~15,000+ retained ImposterProtoChunk instances (should be near zero)

Changed

  • ChunkAccessMixin now skips TrackedDataContainer creation for ImposterProtoChunk instances
  • Container delegation methods are now null-safe for chunks without attached containers

Technical Details

  • File modified: ChunkAccessMixin.java
  • Root cause: Anonymous inner class in TrackedDataContainer.makeBasicContainer() captured chunk reference, creating circular reference chain
  • Fix: Early return in constructor injection when this instanceof ImposterProtoChunk