CurseForge · Minecraft mod
nicelight_memoryfix
Reduces memory buildup and potential leaks in large Forge 1.20.1 modpacks through automatic heap-pressure cleanup, targeted cache clearing, unload hooks, and diagnostic tools.
Quick answer
Which nicelight_memoryfix release should I use?
nicelight_memoryfix_deep-1_7_2-pure-mixin-engine.jar targets 1.20.1, 1.20 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is nicelight_memoryfix required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does nicelight_memoryfix_deep-1_7_2-pure-mixin-engine.jar need?
nicelight_memoryfix_deep-1_7_2-pure-mixin-engine.jar. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add nicelight_memoryfix without breaking your instance.
Built for nicelight_memoryfix_deep-1_7_2-pure-mixin-engine.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use nicelight_memoryfix_deep-1_7_2-pure-mixin-engine.jar. It targets 1.20.1, 1.20 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside nicelight_memoryfix_deep-1_7_2-pure-mixin-engine.jar. It opens that exact file at the source.
About this project
What does nicelight_memoryfix add?
Nicelight Memory Fix Deep (Forge 1.20.1)
**Nicelight Memory Fix Deep** is a memory-leak mitigation and cache-management utility for Minecraft Forge 1.20.1, **specifically tailored for heavy modpacks and marathon gaming sessions**.
In large modpacks with extensive exploration, combat, and dimension-hopping, memory leaks gradually accumulate over time. This mod keeps your game running smoothly over hours of continuous play by actively severing orphaned references that Java's Garbage Collector cannot clean up on its own.
📌 What This Mod Does:
🤝 Compatibility with Other Optimization Mods
Designed to run smoothly alongside the modern optimization stack with zero mixin conflicts:
* **ModernFix**, **FerriteCore**, **Embeddium / Rubidium**, **ServerCore**, **Noisium**, **Oculus**, and **Smooth Boot**.
**Vanilla Bug Fixes**:
* **MC-101260 Fix**: Clears player raycast crosshair pointers on world unload so old worlds can be garbage collected.
* **MC-260605 Fix**: Cleans dead mobBrainmemory references upon entity removal.
* **LevelRenderer Patch**: Flushes thedestroyingBlocksmap when leaving a dimension to prevent texture leak.
* **SoundEngine Patch**: Drains theinstanceToChannelmap on sound stop to stop OpenAL audio handle leaks.
* **MapRenderer Patch**: Evicts stale held-map textures from memory when closed.
* **Biome Temperature Cache**: PurgesThreadLocaltemperature caches during cleanup.**ThreadLocal Leak Mitigation**:
* Scans background worker threads (Forge/Netty/Minecraft) using an internal JVMUnsafebypass to detach retained world/class objects without requiring--add-opensflags.**Safe Brain AI Cleanup (100% Epic Fight Compatible)**:
* Sets expired mob memory targets toOptional.empty()instead of deleting map keys. This severs memory links from dead mobs while preserving complete crash-free stability with **Epic Fight** and combat animation mods.**World & Chunk Ticket Eviction**:
* Purges staleDistanceManagertickets, evicts unloaded POISectionStorage, and flushes cached 3DStructureTemplateNBT data.**Audio & VRAM Maintenance**:
* Stops looping ghost sound channels and reclaims orphaned OpenAL audio buffers back to the operating system.
* TrimsBufferBuildernative memory allocations.**Non-Intrusive Heap Pressure Automation**:
* Monitors RAM at 50% (Soft), 70% (Light), and 82% (Strong).
* Sweeps run silently in milliseconds without calling forcedSystem.gc()freezes during play.
⌨️ All In Commands (/nm or /nmem)
* /nm stats (or /nm) — Displays real-time used RAM, committed memory, watchdog world status, and active mixin interception counters.
* /nm sweep — **[Full Deep Clean]** Manually triggers a comprehensive purge across all 16+ cache tiers (audio, textures, chunk tickets, threadlocals, brain memories) and prints a breakdown report in chat.
* /nm scan — Runs a read-only diagnostic scan to detect suspect objects currently retained on background worker threads.
* /nm gc — Executes targeted cache cleanups and manually triggers a single JVM Garbage Collection cycle.
* /nm pressure — Evaluates current heap pressure against configured thresholds and runs the corresponding cleanup tier.
* /nm watchdog — Checks whether any unloaded dimensions or worlds are still alive in memory.
* /nm config — Prints a summary of all active configuration settings.
* /nm discover — Manually scans loaded mod jars to discover newly loaded cache classes.
⚙️ Configuration
All settings can be customized in: config/nicelight_memoryfix_deep.json
Project description from CurseForge.
Pick your setup
nicelight_memoryfix by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
nicelight_memoryfix versions and loaders
nicelight_memoryfix_deep-1_7_2-pure-mixin-engine.jar
17 Sept 2026
nicelight_memoryfix_deep-1_7_0-pure-mixin-engine.jar
14 Sept 2026
nicelight_memoryfix_deep-1_7_0-pure-mixin-engine.jar
8 Sept 2026
nicelight_memoryfix.jar
16 Jul 2026
Looking for an older file? The official CurseForge project page is in Resources.