[jboss-user] [EJB/JBoss] - Re: JBOSS is crashing..

rknechtel do-not-reply at jboss.com
Fri Aug 25 17:01:03 EDT 2006


I am having a similar issue with JBoss running out of memory. I do repeated deployments/re-deployments of an two ear files (in developent) and after about 6 -10 times I get this error:

2006-08-18 15:14:31,730 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/opt/jbossall/jboss-4.0.4.GA/server/app01/tmp/deploy/tmp59584our.ear-contents/our-ejb.jar
java.lang.OutOfMemoryError: PermGen space
2006-08-18 15:14:35,202 ERROR [STDERR] Exception in thread "ScannerThread"
2006-08-18 15:14:35,203 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space

And JBoss gets really hung and I have to do a kill -9 on it. I'm running JBoss 4.04GA with the latest EJB3.0 and Seam jars and I'm  running under SuSE 10.
I have added the following JVM args to teh default ones:
JAVA_OPTS="$JAVA_OPTS -XX:NewSize=128m -XX:MaxNewSize=384m -Xmx512m -Xms512m -XX:+DisableExplicitGC"

Any help would be apprieciated.

Thanks,


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967575#3967575

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967575



More information about the jboss-user mailing list