MemorySweep
Modby Tki_sor
A Mod that automatically clears memory.
Type
Mod
CurseForge Downloads
1,637,286
CurseForge ID
784959
Last Updated
Apr 13, 2026
Description
This mod can call System.gc() periodically to clean up your memory.
It also adds the /memorysweep_c and /memorysweep_s commands to manually clean memory.
The default time interval of cleaning memory is 15 minutes, and you can modify it in the configuration file.
Memory can also be cleaned up by memory usage.(Default 75%)
If there is lag during garbage collection, please add the JVM parameter -XX:+ExplicitGCInvokesConcurrent
Of course, I also recommend trying out ZGC, which is newly added in Java 11 and does not require the parameters mentioned above:
-XX:+UnlockExperimentalVMOptions -XX:+UseZGC
Please do not use any other GC concurrently with ZGC and do not add -UseAdaptiveSizePolicy
Similar Mods
Hopper Ducts
Adds ducts, which connect to hoppers and send items in any direction, including upwards.
Horse Power
A mod that adds a horsepowered grindstone and chopping block
Simply Jetpacks
RF powered jetpacks
Realistic Item Drops
Renders 3D items flat on the ground and disables auto-pickup
Terralith
A 1.18+ overworld expansion for Fabric and Forge, with tons of new biomes and caves!
Pufferfish's Attributes [Fabric & Forge & NeoForge]
Adds more attributes to the game.