CurseForge · Minecraft mod
MemorySweep
A Mod that automatically clears memory.
Quick answer
Which MemorySweep release matches 1.16.5 Forge?
memorysweep-1.16.5-0.8.jar targets 1.16.5 with Forge. The project page does not say whether it belongs on the client. The project page does not say whether it belongs on the dedicated server. No extra mods listed for this file.
Where it goes
Is MemorySweep required on the client, server, or both?
The project page does not say whether it belongs on the client. The project page does not say whether it belongs on the dedicated server.
The source does not explicitly classify this release as client-only or server-only.
What else does memorysweep-1.16.5-0.8.jar need?
memorysweep-1.16.5-0.8.jar on 1.16.5 Forge. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add MemorySweep without breaking your instance.
Built for memorysweep-1.16.5-0.8.jar on 1.16.5 Forge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use memorysweep-1.16.5-0.8.jar. It targets 1.16.5 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether it belongs on the client. The project page does not say whether it belongs on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside memorysweep-1.16.5-0.8.jar. It opens that exact file at the source.
About this project
What does MemorySweep add?
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
Project description from CurseForge.
Pick your setup
MemorySweep by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.1
2 loader builds1.19.4
1 loader build1.19.3
1 loader build1.19.2
1 loader build1.18.2
1 loader build1.16.5
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
MemorySweep versions and loaders
memorysweep-1.16.5-0.8.jar
18 Jan 2023
memorysweep-1.16.5-0.7.1.jar
14 Jan 2023
memorysweep-1.16.5-0.7.jar
11 Jan 2023
memorysweep-1.16.5-0.6.jar
3 Jan 2023
Looking for an older file? The official CurseForge project page is in Resources.