MemoryLeakfix Documentation
Table of Contents
- Installation
- Features
- Commands
- Permissions
- Configuration
- Safe Mode
- Developer Mode
- Discord Integration
- Troubleshooting
- API
Installation
Requirements
- Paper/Spigot 1.20.4+
- Java 17 or higher
- Minimum 512MB RAM allocated to server
Steps
- Download MemoryLeakfix.jar
- Place it in your server's plugins folder
- Start/restart your server
- The plugin will generate default configuration files
Features
Crash Prevention
MemoryLeakfix actively monitors several server metrics:
- TPS (Ticks Per Second)
- Memory usage and allocation
- Server response time
- Console error patterns
- "Can't keep up!" messages
When issues are detected, the plugin automatically:
- Activates Safe Mode
- Saves all player and world data
- Attempts to stabilize the server
- Notifies administrators
- Logs detailed diagnostics
Memory Optimization
- Automatic garbage collection optimization
- Smart chunk management
- Entity cleanup during critical situations
- Memory leak detection and prevention
Commands
Command
Permission
Description
/memoryleakfix help memoryleakfix.admin Shows help menu
/memoryleakfix reload memoryleakfix.admin Reloads configuration
/memoryleakfix sim memoryleakfix.admin Simulates crash (Developer Mode)
Permissions
- memoryleakfix.admin - Access to all plugin commands and notifications