Major Update
The Last Update For 1.21.9
The New Versions For The Mod Will Come When Minecraft Updates
Changelog
Minor Code Wise Update
Major JVM Level Update
Note:
Because JVM needs to warm up for the changes made by mod its best to restart minecraft 1 time after game opens with mod
Minor Updates
Greatly Better Than 1.1.0
Major Update
This release brings a significant upgrade to Shiro’s memory management by integrating deeper JVM-level optimizations for cleaner, more efficient native memory handling.
Key changes:
Direct JVM native memory cleanup — new approach reduces memory overhead and improves stability.
Config update — config file structure changed; please delete your old config file to ensure smooth transition.
Smarter cleanup logic with fine-tuned thresholds and intervals for better performance.
Expanded cleanup scope, including Minecraft’s internal caches and resources.
Maintained full user control: cleanup features can be toggled as needed.
This version represents a meaningful jump in Shiro’s capabilities, focusing on both reliability and performance.
Expanded Config Options More control over cleanup behavior, intervals, and thresholds.
Major Codebase Rework Cleanup logic and memory thread refactored for better reliability and structure.
/mem Command Accuracy Fixed Now properly forces GC and reflects actual before/after memory usage.
Deeper JVM-Level Cleanup Added aggressive System.gc() cycles and internal collection nullification for better native memory release.
Reworked verison of 1.0.2 but worse
For 1.20.1
Same As The Other 1.0.2 Just For 1.21.9
Added new config settings including and improved config loading order.
Cleaned up some unused or redundant code.
Manual /mem command now reloads config before running cleanup.
Fixed issues with logging config values before config was loaded.
If upgrading, delete the old shiro_config.json file to apply new config settings.
1.0.1
Added configurable memory cleanup behavior via shiro_config.json
Added new memory clean command /mem
Improved overall memory cleanup logic
Added levels of memory clean up
Minor optimizations and stability fixes
Classic Config
{
"hardCleanupThreshold": 0.85,
"mediumCleanupIntervalMinutes": 10,
"minimumCleanupIntervalMillis": 1000
}
Low-End PC Config
{
"hardCleanupThreshold": 0.75,
"mediumCleanupIntervalMinutes": 15,
"minimumCleanupIntervalMillis": 20000
}



