Slime — Heuristic Memory Purger
No reviews yet
The silent guardian of your Minecraft server. Slime is a 100% server-side mod that automatically monitors and cleans your Minecraft server's RAM.
Does not follow a specific thematic focus apart from vanilla Minecraft.
Used for mods with little to no gameplay elements.
Includes quality of life improvements and small tweaks to enhance and customize gameplay.
Addresses and fixes known bugs and issues.
Enhances game performance and optimizes resource usage.
Includes tools and features for server management.
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
🦠 Slime — Heuristic Memory Purger 🦠
The silent guardian of your Minecraft server.
Slime is a 100% server-side mod that automatically monitors and cleans your Minecraft server's RAM. No more crashes after a few hours of uptime, no more OutOfMemoryError in the middle of the night — Slime handles everything in the background, with zero intervention required.
⚠️ The Problem
Minecraft runs on Java. Java uses a Garbage Collector (GC) to clean up memory automatically. In theory, it works great. In practice, once you start stacking mods, some of them "forget" to release their data: an unloaded chunk still referenced somewhere, a dead entity lingering in a forgotten list, a cache that keeps growing and never flushes...
These memory leaks pile up silently. After 2, 4, 8 hours of gameplay, the server starts lagging, stuttering, and eventually crashes. You restart, and the cycle begins again.
♻️ The Solution
Slime acts as a janitor for your server's brain. It continuously patrols memory, spots data that hasn't been touched in a suspiciously long time, and forces it to be released — freeing up the RAM that Java's Garbage Collector couldn't reach on its own.
✨ Features
🟢 Automatic Heuristic Purging
Slime timestamps every tracked piece of data in memory. If a chunk, entity, or cache entry hasn't been accessed in over 10 minutes (configurable), it's flagged as "stale" and destroyed. Everything runs in the background with no impact on server performance.
🟢 Real-Time Heap Monitoring
The mod continuously watches memory usage. If it exceeds 85%, an emergency purge is triggered immediately — without waiting for the next scheduled cycle. If it hits 92%, a forced System.gc() is called as a last resort.
🟢 Non-Blocking Thread
All purging logic runs on a low-priority daemon thread. The server experiences zero lag, zero freezes, zero slowdowns from this mod.
🟢 In-Game Commands
Monitor and control the purger directly from chat:
| Command | Description |
|---|---|
/purger status |
Memory state, tracked entries, statistics |
/purger force |
Trigger an immediate purge cycle |
/purger gc |
Force the garbage collector (last resort) |
Slime doesn't touch any Forge registry — no blocks, no items, no textures. Just drop it in your server's
mods/ folder and players connect as usual, with nothing to change on their end. ⚙️ Installation
- Download the
.jar - Drop it in your server's
mods/folder (Forge 1.20.1) - Start the server — that's it
On first launch, slime-purger.toml is auto-generated in the config/ folder. Tweak it to your needs and restart.
🎯 Who Is This For?
- Dedicated server admins who need 24/7 stability
- Modpack creators stacking dozens (or hundreds) of mods
- Solo players on long sessions whose game slows down after a few hours
- Hosting providers looking to reduce forced restarts
🧩 Compatibility
- Minecraft: 1.20.1
- Forge: 47+
- Side: Server only
- Known conflicts: None — the mod doesn't interact with any registry or other mod.
❓ FAQ
Does it cause lag?
No. The monitoring thread runs at minimum priority and never blocks the main server tick.
Can it delete important data?
The mod uses WeakReference. It can only release data that is no longer used by any other part of the code. If an entity is still alive in a world, it will never be purged.
Do clients need to install it?
Never. The mod is completely invisible to connected players.
Why do the logs say "0 entries purged"?
That's normal! It means memory is healthy and no stale data was found. The mod keeps watching silently in the background.
License: All Rights Reserved — free to use on your server, redistribution without permission is prohibited.
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources