MemGuard logo

MemGuard

Mod

by SeishiroNagi

Reduces RAM usage in large modpacks and servers by caching NBT strings, monitoring memory usage, and triggering garbage collection at optimal times.

Downloads

9,901

Type

Mod

CurseForge ID

1468440

Last Updated

Apr 12, 2026

Description

MemGuard

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

Minecraft Forge NeoForge Fabric Java

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

  1. Install the correct loader for your Minecraft version.
  2. Use Java 21+.
  3. Put MemGuard.jar in your mods folder.
  4. 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.

Similar Mods

Included in Modpacks

External Resources