Back to mods
AutoSystemGC project artwork

Modrinth · Minecraft mod

AutoSystemGC

Automatically calls System.gc() to free-up memory on your server and client.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which AutoSystemGC release matches 1.19.2?

Updated 2 years ago
Best match for your filters 0.0.1+release.1
Game version 1.14.4, 1.15, 1.15.1
Loader Fabric

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.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

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.19.2. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by AutoSystemGC 0.0.1+release.1
required
Matching file found Matched file: [1.19.2] Fabric API 0.77.0+1.19.2

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.19.2. Pick another file and the loader, install side or required mods may change.

  1. 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.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 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?

Requires FabricAPI

Modrinth Downloads

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 triggered
  • broadcastOnCleanTrigger : sends a server-wide message of the cleanup details when a memory cleanup is triggered
  • configVersion : 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.

31 available setups

Showing 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

1 of 1 releases match

Looking for an older file? The official Modrinth project page is in Resources.