
AutoSystemGC
This mod will automatically call System.gc() to free-up memory on your server and client!
Note:
System.gc() just tells the JVM to expend effort toward recycling unused objects. So sometimes System.gc() doesn't free memory.
Commands
/agc- the main command (alias)/autosystemgc- the main command/autosystemgc trigger- manually trigger memory cleanup/autosystemgc reload- reloads the config as well as the mod
Config
Default config:
{
"cleanInterval": -1,
"cleanThresholdPercent": 70.0,
"memoryCheckInterval": 2,
"logOnCleanTrigger": true,
"broadcastOnCleanTrigger": false,
"configVersion": 1
}
Details:
cleanInterval: scheduled memory cleanup (accepts numbers greater than 30, below that just disables the scheduled memory cleanup) (time unit is in seconds)cleanThresholdPercent: the target memory threshold which then triggers a memory cleanup (accepts floats in a range of 0 to 100, value lower than 30 just disables this)memoryCheckInterval: intervals for when to check memory usage percent (accepts numbers higher than 0) (time unit is in seconds)logOnCleanTrigger: logs cleanup details when a memory cleanup is triggeredbroadcastOnCleanTrigger: sends a server-wide message of the cleanup details when a memory cleanup is triggeredconfigVersion: this is an internal value. DO NOT CHANGE!
Bonus The config reloads automatically 😉
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.14.4, 1.15, 1.15.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as autosystemgc-v0.0.1+release.1.jar — drop this file into the mods folder
- Download size: 22 KB
- Download link checked 30 Aug 2026 — working
These come from our own check of the pack file, not from the source page.