Smart RAM control for modded Minecraft.
Less stutter. Fewer freeze spikes. Better long-session stability.
| Periodic GC Assist Triggers safe periodic cleanup to limit long-session memory buildup. |
NBT String Dedup Cache Reuses repeated hot strings instead of reallocating them thousands of times. |
| Memory Pressure Monitor Warns in logs when heap usage gets risky. |
Texture Upload Cleanup Client-side cleanup path reduces unnecessary memory retention after atlas upload. |
| Loader | Minecraft | Java |
|---|---|---|
| Forge | 1.20.2+ | 21+ |
| NeoForge | 1.21+ | 21+ |
| Fabric | 1.21+ | 21+ |
Check the Files tab for exact build mapping per version.
MemGuard.jar in your mods folder.latest.log for [MemGuard] entries.Build smoother modpacks, not restart loops.
Use MemGuard when your world is big and your sessions are long.