promotional bannermobile promotional banner

Au The Leaks - Au Naturel Edit

A fix for some common memory leaks without a memory leak or significant memory use itself.

File Details

alltheleaks-1.1.1+1.20.1-forge.jar

  • R
  • Dec 27, 2025
  • 1.13 MB
  • 59.3K
  • 1.20.1
  • Forge

File Name

alltheleaks-1.1.1+1.20.1-forge.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:au-the-leaks-au-naturel-edit-1414213:7383504")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Changelog

Added

  • enableLeakTracking config option (default: true) - when set to false, completely disables the following:
    • Trackable mixin application (PlayerMixin, ChunkAccessMixin, LevelMixin, MinecraftServerMixin)
    • All startTracking() calls for players, chunks, levels, and servers
    • Periodic tracking maintenance tasks
    • Leak summary on F3 debug screen

Fixed

  • Trackable hash clustering - WeakReferences with garbage-collected referents no longer cluster at hash 0; now uses identity hash of the WeakReference object itself
  • Trackable memory retention - Added aggressive compaction that rebuilds sets when >75% of entries are removed, preventing unbounded array growth from tombstoned entries
  • ReportManager memory retention - Tasks map and tick counter now reset on server stop
  • DebugThreadsHooks memory retention - Thread tracking maps (currentEventsvisitedThreads) now reset on server stop
  • IssueManager memory retention - Constructor list now cleared after initiateIssues() completes

Changed

  • Disabled mixins incompatible with modpack library versions:
    • WorldAttachedMixin (targets Flywheel 0.6.x, modpack has 1.0.5)
    • ServerPlayNetworkAddonMixin (targets fabric-networking <1.3.14)
    • ServerPlayNetworkHandlerMixinSquared (related to above)