[jboss-user] [Beginners Corner] - Re: java.lang.OutOfMemoryError: PermGen space
PeterJ
do-not-reply at jboss.com
Fri Oct 3 17:59:55 EDT 2008
You can use JConsole or VisualVM to track the permgen usage. I prefer JConsole because it causes less strain on the app server (VisualVM generates a lot of garbage on the app server which then has to be collected)
You should set a larger permgen on the command line. Edit the run script, the line that sets the heap sizes in JAVA_OPTS and add -XX:MaxPermSize=256m (or larger).
Also, are you doing development work with a lot of redeploys? A redeploy will generally eat up permgen space. If so, you should periodically restart the app server.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180372#4180372
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180372
More information about the jboss-user
mailing list