A Mod that automatically clears memory.
No ratings yet
Be the first to rate it.
Community listing page
Community listing page, reviews may not be monitored by the author.
Community voices
Reviews
Log in to review this mod
Reviews are written by ModDex members. Log in and you'll come right back to the review form.
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
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
This mod can call System.gc() periodically to clean up your memory.
Also, it adds the /memorysweep command 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 90%)
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.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
Stats
- Downloads
-
2.5m
2.3m
160k
- Used in
- 285 modpacks
- Followers
- 0
- In stacks
- 0
- Created
-
- Last synced
-
Nov 13, 2026 6:20 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before this date changes.
How syncing works
External Links
Stats
- Downloads
-
2.5m
2.3m
160k
- Used in
- 285 modpacks
- Followers
- 0
- In stacks
- 0
- Created
-
- Last synced
-
Nov 13, 2026 6:20 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before this date changes.
How syncing works