Jump to content

Recommended Posts

  • Discord Moderator
Posted

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.

  • Discord Moderator
Posted

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.

Posted (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 by Kr0nZ
  • Discord Moderator
Posted

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!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...