Mineuniverse
Log in Register
Mods

MemorySweep

A Mod that automatically clears memory.
by Tki_sor
Download Claim this project
1,949,761 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Miscellaneous

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

 

 If you have suggestions you can comment or Issues.

MemorySweep-1.21.1-fabric-2.0.3-fix.jar
MC Fabric, 1.21.1
Release 2025-06-23 Get
MemorySweep-1.21.1-neoforge-2.0.3-fix.jar
MC NeoForge, 1.21.1
Release 2025-06-23 Get
memorysweep-1.20.1-2.0.3-forge.jar
MC 1.20.1, Forge
Release 2025-06-18 Get
memorysweep-1.20.1-2.0.1-fabric.jar
MC Fabric, 1.20.1
Alpha 2025-03-23 Get
memorysweep-1.20.1-2.0.1-forge.jar
MC 1.20.1, Forge
Alpha 2025-03-23 Get
memorysweep-1.21.1-1.1.2-neoforge.jar
MC NeoForge, 1.21.1
Beta 2024-09-16 Get
memorysweep-1.21.1-1.1.2-fabric.jar
MC Fabric, 1.21.1
Beta 2024-09-16 Get
memorysweep-1.20.1-1.1.2-forge.jar
MC 1.20.1, Forge
Beta 2024-09-16 Get

More from Tki_sor

NekoJS
68
UtilJS
6,202
Upd8r
4,291
TFMG: Virtual Oil Deposit
31,258
Chat Boost
1,365

You Might Also Like

LoadingTips
A mod that adds custom tips to the loading screen
999,218
Sampler
Performance oriented debugging/administration tools
998,926
VulkanMod
Vulkan renderer mod for Minecraft.
997,115
Charm Fixer
Disables some modules on charm to fix incompatbility issues with owo
996,251
Trading station
Basic items to item trading machines
99,755
NarrateBookForMe [FABRIC]
Adds a narration keybind, and two GUI buttons to the book screen. Text-to-speech (tts) / narration on the go! Client sided.
99,734