Minecraft Memory Cleaner Mod mod 2026 download
logo
minecraft mod Memory Cleaner Mod

Memory Cleaner Mod

Game Version: 1.12.2
Total Downloads: 33,236
Updated: Feb 11, 2021
Created: Nov 26, 2020
Download Memory Cleaner ModDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
memorycleaner-1.4.jar beta 13.84 KB Feb 11, 2021 1.12.2 25,796 download Memory Cleaner Mod memorycleaner-1.4.jar betaDownload
memorycleaner-1.3.jar beta 13.81 KB Feb 3, 2021 1.12.2 4,222 download Memory Cleaner Mod memorycleaner-1.3.jar betaDownload
memorycleaner-1.2.jar beta 13.00 KB Nov 30, 2020 1.12.2 3,034 download Memory Cleaner Mod memorycleaner-1.2.jar betaDownload
memorycleaner-1.1.jar beta 11.42 KB Nov 29, 2020 1.12.2 52 download Memory Cleaner Mod memorycleaner-1.1.jar betaDownload
memorycleaner-1.0.jar beta 13.39 KB Nov 26, 2020 1.12.2 132 download Memory Cleaner Mod memorycleaner-1.0.jar betaDownload

Description

Share this:

IMPORTANT:

    THIS MOD IS NOT FOR EVERYONE!

    Only use this if you are experiencing lag caused by high RAM usage (Which usually happens on very large modpacks) or experiencing crashes caused by OutOfMemoryError.

    Otherwise this mod will negatively affect your game experience, because explicit gc takes time and it brings no benefit if your RAM is abundant.

    For best experience I recommend using the suggested JVM arguments, see below.

 

CLIENT ONLY MOD

 

This mod automatically calls System.gc() to free up your memory. Due to the fact that explicit gc can freeze your game for a short period, the mod watches the player movement and starts to clean up your RAM after the player stays idle for a while.

The memory cleaning process also starts when your RAM usage goes above a certain percent (configurable) or after a long period if none of the above conditions are met (also configurable).

Also you can use the /cleanmemory command to free up your RAM immediately.

 

More options can be seen in the in-game mod settings.

 

Note that do NOT include -XX:+DisableExplicitGC in your JVM arguments because the mod will not function at all with it.

 

If you don't want your game to freeze when cleaning memory, you should try these JVM arguments: (-Xmx and -Xms values are omitted)

-XX:+AggressiveOpts -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSConcurrentMTEnabled -XX:ParallelGCThreads=4 -Dsun.rmi.dgc.server.gcInterval=1800000 -XX:+UnlockExperimentalVMOptions -XX:+ExplicitGCInvokesConcurrent -XX:MaxGCPauseMillis=50 -XX:+AlwaysPreTouch -XX:+UseStringDeduplication -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:-OmitStackTraceInFastThrow -XX:+OptimizeStringConcat -XX:+UseAdaptiveGCBoundary -XX:NewRatio=3 -Dfml.readTimeout=90 -XX:+UseFastAccessorMethods

This enables concurrent explicit gc so that your game will not freeze during memory cleanings. The JVM arguments options should be found in your Minecraft launcher.

Comments

Add a comment