Sign in to follow this  
plowmanplow

Increasing Permgen requirements

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Sign in to follow this