MemGuard
Modby SeishiroNagi
Reduces RAM usage in large modpacks and servers by deduplicating NBT strings and monitoring memory usage, without forced GC freezes.
Description
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.jarin yourmodsfolder. - Start the game and check
latest.logfor[MemGuard]entries.
Build smoother modpacks, not restart loops.
Use MemGuard when your world is big and your sessions are long.
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Prominent UI Tweaks
The heart of the custom UI from the Prominence modpacks.
Merge Enchantments
merge the enchants that could not be combined like Silk Touch with Fortune, Infinity with Mending, Frost Walker with Dep...
Farmer's Cutting: Biomes O' Plenty
Adds Farmer's Delight cutting recipes for Biomes O' Plenty
Cataclysm Dimensions
Place each structure from the L_Ender 's Cataclysm mod into different dimensions
Vanilla Cookbook
Expands Minecraft's food while staying close to vanilla
TickCentral
A future proof coremod for control over in-game ticking