
Modrinth · Minecraft mod
AutoSystemGC
Automatically calls System.gc() to free-up memory on your server and client.
Quick answer
Which AutoSystemGC release matches 1.18.2?
AutoSystemGC 0.0.1+release.1 targets 1.14.4, 1.15, 1.15.1 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. All 1 required mods have matching files.
Where it goes
Is AutoSystemGC required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does AutoSystemGC 0.0.1+release.1 need?
0.0.1+release.1 on 1.18.2. Every mod below is checked against that same setup.
Install Fabric API first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add AutoSystemGC without breaking your instance.
Built for AutoSystemGC 0.0.1+release.1 on 1.18.2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 0.0.1+release.1. It targets 1.14.4, 1.15, 1.15.1 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 0.0.1+release.1. It opens that exact file at the source.
About this project
What does AutoSystemGC add?
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 😉Project description from Modrinth.
Pick your setup
AutoSystemGC by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.3
1 loader build1.21.2
1 loader build1.21.1
1 loader build1.21
1 loader build1.20.6
1 loader build1.20.5
1 loader build1.20.4
1 loader build1.20.3
1 loader build1.20.2
1 loader build1.20.1
1 loader build1.20
1 loader build1.19.4
1 loader buildShowing the newest 12 of 31 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
AutoSystemGC versions and loaders
0.0.1+release.1
autosystemgc-v0.0.1+release.1.jar
16 Nov 2024
Looking for an older file? The official Modrinth project page is in Resources.