MemGuard
Smart RAM control for modded Minecraft.
Less stutter. Fewer freeze spikes. Better long-session stability.

Why Players Install MemGuard
- Stabilizes memory usage in big modpacks and long play sessions.
- Cuts duplicate NBT string allocations to reduce RAM pressure.
- Adds memory warnings before your session becomes unstable.
- Runs safely with standard loader/JVM APIs (no native hooks).
Feature Highlights
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. |
Supported Versions
| 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.
Compatibility Notes
- Known good with FerriteCore and AllTheLeaks.
- If logs mention missing Create classes, verify Create and Create addons are on the same update line (Update 5 with Update 5 addons, or Update 6 with Update 6 addons).
- That Create class mismatch is usually not caused by MemGuard itself.
Quick Install
- Install the correct loader for your Minecraft version.
- Use Java 21+.
- Put
MemGuard.jar in your mods folder.
- Start the game and check
latest.log for [MemGuard] entries.
Build smoother modpacks, not restart loops.
Use MemGuard when your world is big and your sessions are long.