Mineuniverse
Log in Register
Plugins

CrashPrevention

CrashPrevention
by _ForgeUser8012947
Download Claim this project
4,406 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Fixes

CrashPrevention | Prevent out of memory errors!

This is a simple plugin designed to help prevent your server crashing with out of memory errors. Every 10 seconds the server will check how much free RAM the JVM has left. If it's below an amount defined in the config, the server will automatically restart.

Configuration:

minimum_ram: 256 # Restart the server if below this amount of free RAM.

tries: 2 # Number of times to check free RAM before restarting. If under the minimum_ram two times, restart.

But, how can this actually restart it?

You need need to use one of these startup scripts: Linux | Windows

But, I use a control panel and can't change the start up script!

Even easier then! Most control panels (MutliCraft and TCAdmin anyway..) will automatically restart the server if it's stopped from outside their control panel. So you should be fine.

Source code

CrashPrevention 2.0
MC 1.6.2
Release 2013-07-30 Get
CrashPrevention
MC CB 1.4.7-R1.0
Release 2013-03-08 Get
CrashPrevention
MC CB 1.4.7-R1.0
Release 2013-03-06 Get

More from _ForgeUser8012947

BuycraftAnnouncer
16,238

You Might Also Like

PlayerSkinChanger
Change your skin without client mod !
96,438
EndReward
Get a reward for killing the EnderDragon!
9,792
ConfigExp
configurable exp drops for everyone!
9,294
RightOnSpawn
You will never spawn on a roof again!
9,235
Server Resource Packs
Allows for a new way to get players the files for your server Resource Pack.
9,027
SleepDay
It's enough that one player sleep in order to night to day.
8,968