nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
MemorySweep

MemorySweep

Mod

A Mod that automatically clears memory.

Client Optimization

13.8k downloads
21 followers

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.

External resources


Project members

Tki-sor

Member


Technical information

License
MIT
Client side
required
Server side
unsupported
Project ID