Moscovium

Fixes off-heap memory buildup from resource pack ZIP inflaters and resource reload workflow leaks.

Moscovium

A lightweight, low-level memory optimization mod that automatically cleans up lingering off-heap memory from resource packs and resource reloads. No gameplay changes — just drop it in and play.

What It Fixes

In vanilla Minecraft, loading ZIP resource packs, switching textures, or encountering resource reload errors often leaves native caches and file handles stuck in memory. Moscovium takes care of these easily overlooked background allocations:

  • Automatic Idle Resource Pack Cleanup: Automatically releases idle ZIP decompression caches after resource or modpack loading completes, and seamlessly reopens them on demand without affecting textures or audio playback.
  • No Leak on Failed Reloads: When switching resource packs, pressing F3+T, or hitting a broken pack mid-reload, half-built texture and font caches are cleaned up promptly to prevent memory buildup or hung reloads.
  • Pack Selection Icon Release: Automatically frees preview icon caches that are no longer needed after refreshing or leaving the resource pack screen.
  • Broken Audio Stream Cleanup: Promptly releases file handles if a corrupted audio file fails to load.

Compatibility

  • Complementary to Popular Optimization Mods: Safe to run alongside ModernFix, Sodium, Lithium, ImmediatelyFast, and AllTheLeaks. Tested across multiple large modpacks with 300+ mods with zero conflicts and zero crashes.
  • Side-Independent: Supports both client and server, and works normally when installed on only one side.

Benchmark Highlights

Scenario Before (Vanilla / Baseline) After (Moscovium)
Idle Resource Pack Cache Cleanup Kept open indefinitely 100% automatically released, no reload slowdown
Failed Reload & UI Off-Heap Leaks 41 MB (base) / 80 MB (ATM10 assets) 0 MB
ATM10 (494 mods + 16 external resource packs) 115.1 s launch time 85–103 MB lower system memory, 108.9 s launch time, zero missing textures or fonts

Moscovium Team

profile avatar
  • 26
    Followers
  • 39
    Projects
  • 13.0M
    Downloads

More from TheFlareStarView all