Discord Moderator plowmanplow Posted April 19, 2014 Discord Moderator Posted April 19, 2014 So, a couple times now I've started getting crashes on my BTeam server with an error that looks similar-ish to this: java.lang.NoClassDefFoundError: net/minecraft/entity/CallableEntityTracker After some debugging I ended up increasing the permgen allocation on the server from 128m to 256m. After a number of weeks (don't remember exact time) I started getting this again. Bumping the permgen from 256m to 384m made the problem go away again. Any ideas what is going on here? I don't really care that it needs to be higher (I have plenty of RAM) but just want to make sure something isn't going off the rails or getting ready to melt down.
Kalbintion Posted April 19, 2014 Posted April 19, 2014 post this issue on the tracker, and include a full server log + client launcher log. Link to the tracker is in my signature below.
Discord Moderator plowmanplow Posted April 19, 2014 Author Discord Moderator Posted April 19, 2014 Heh, I'll see what I can do. The crash that results from this generates 20-30 megabytes of log traffic in the server.log when it happens as it crashes to the command prompt.
Kr0nZ Posted April 19, 2014 Posted April 19, 2014 (edited) Not sure if this will help but try starting your server with these parameters, I use this on my local server. -XX:PermSize=256m -XX:NewRatio=3 -XX:SurvivorRatio=3 -XX:TargetSurvivorRatio=80 -XX:MaxTenuringThreshold=8 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:MaxGCPauseMillis=10 -XX:GCPauseIntervalMillis=50 -XX:MaxGCMinorPauseMillis=7 -XX:+ExplicitGCInvokesConcurrent -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=60 -XX:+BindGCTaskThreadsToCPUs -Xnoclassgc Among other things(which I wont pretend to know what exactly), it forces the java garbage collector to behave much more nicely with your memory. Edited April 19, 2014 by Kr0nZ
Discord Moderator plowmanplow Posted April 20, 2014 Author Discord Moderator Posted April 20, 2014 Kr0nZ: I do have a number of those options (and more) on my command line. I'll compare while refreshing my memory as to the functionality of each. Thanks!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now