Ok so on the MCPC+ forums a lot of people have been posting errors similar to this one, so I figured I'd make a quick guide for the benefit of everyone so they don't spam the good people on these forums or mcpc+:
22:31:12 [INFO] Connection reset
22:31:31 [SEVERE] Exception in thread "Thread-6"
>
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Thread-6"
22:31:49 [SEVERE] The server has stopped responding!
22:31:53 [SEVERE] Please report this to http://www.mcportcentral.co.za/
22:31:58 [SEVERE] Be sure to include ALL relevant console errors and Minecraft crash reports
22:32:03 [SEVERE] MCPC+ version: git-MCPC-Plus-jenkins-MCPC-Plus-Legacy-610 (MC: 1.5.2)
22:32:07 [SEVERE] Current Thread State:
22:32:10 [SEVERE] Exception in thread "Spigot Watchdog Thread"
>
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Spigot Watchdog Thread"
there are others but the key think to look for is 'Permgen'
This will occur if you have updated to the lovely new unleashed pack and are using MCPC+ and the crashes will happen very frequently, but don't worry - easy fix =D
you should have a start command looking like this: java -Xms16G -Xmx16G -jar server.jar nogui
changing it to something like this will fix the issue:
make sure you have enough ram space afterwards as the perm size is in addition to the dedicated ram!
The bit in the brackets in that isn't needed but I am aparently special and couldn't find a way to turn off the smileys...
22:31:12 [INFO] Connection reset
22:31:31 [SEVERE] Exception in thread "Thread-6"
>
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Thread-6"
22:31:49 [SEVERE] The server has stopped responding!
22:31:53 [SEVERE] Please report this to http://www.mcportcentral.co.za/
22:31:58 [SEVERE] Be sure to include ALL relevant console errors and Minecraft crash reports
22:32:03 [SEVERE] MCPC+ version: git-MCPC-Plus-jenkins-MCPC-Plus-Legacy-610 (MC: 1.5.2)
22:32:07 [SEVERE] Current Thread State:
22:32:10 [SEVERE] Exception in thread "Spigot Watchdog Thread"
>
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Spigot Watchdog Thread"
there are others but the key think to look for is 'Permgen'
This will occur if you have updated to the lovely new unleashed pack and are using MCPC+ and the crashes will happen very frequently, but don't worry - easy fix =D
you should have a start command looking like this: java -Xms16G -Xmx16G -jar server.jar nogui
changing it to something like this will fix the issue:
Code:
java -Xmx16G -Xms16G -XX:PermSize=256M -XX:MaxPermSize=512M -jar server.jar nogui
make sure you have enough ram space afterwards as the perm size is in addition to the dedicated ram!
The bit in the brackets in that isn't needed but I am aparently special and couldn't find a way to turn off the smileys...