Keep your server running smoothly without manual intervention.
RamManager is a simple yet powerful plugin designed to help server administrators monitor and manage Java heap memory usage in real-time. It runs in the background, checks RAM consumption at configurable intervals, and automatically triggers garbage collection when usage goes above a safe limit โ all without affecting gameplay performance.
โจ Features
ยท ๐ Automatic RAM Monitoring โ Checks memory usage every X ticks (configurable). ยท ๐งน Auto Cleanup โ Triggers System.gc() when usage exceeds a defined threshold (default: 85%). ยท โ๏ธ Fully Configurable โ Adjust check intervals and threshold via config.yml. ยท ๐ Real-time Info Command โ Check current memory usage anytime with /rammanager info. ยท ๐ Reload Support โ Reload config without restarting the server. ยท ๐งช Manual GC โ Force garbage collection on demand with /rammanager gc. ยท ๐ชถ Lightweight โ Minimal overhead, no extra dependencies. ยท ๐ Multi-Version Support โ Works on Spigot/Paper 1.17 โ 1.21+.
๐ฆ Commands
Command Permission Description /rammanager rammanager.admin Shows help menu. /rammanager info rammanager.admin Displays current RAM usage percentage and MB used/total. /rammanager reload rammanager.admin Reloads the config file. /rammanager gc rammanager.admin Forces an immediate garbage collection cycle.