Check the process for java has the correct max perm size set. If you're using linux do a

ps axf --cols 1000 | grep java

A max PermSize of 1024m is pretty big...
My tomcat 6 instance running several apps returns:-

/usr/java/latest/bin/java -Djava.util.logging.config.file=/home/pmcneil/apps/tomcat/apache-tomcat-6.0.24/conf/logging.properties -server -Xmx2000m -XX:MaxPermSize=400m -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/home/pmcneil/apps/tomcat/apache-tomcat-6.0.24/endorsed -classpath /home/pmcneil/apps/tomcat/apache-tomcat-6.0.24/bin/bootstrap.jar -Dcatalina.base=/home/pmcneil/apps/tomcat/apache-tomcat-6.0.24 -Dcatalina.home=/home/pmcneil/apps/tomcat/apache-tomcat-6.0.24 -Djava.io.tmpdir=/home/pmcneil/apps/tomcat/apache-tomcat-6.0.24/temp org.apache.catalina.startup.Bootstrap start

and my JAVA_OPTS is ...
echo $JAVA_OPTS
-server -Xmx2000m -XX:MaxPermSize=400m

If that all looks OK you have a memory leak, try using jconsole and look at threads and deadlocks etc.

Good luck,
Peter.

On 15/09/10 16:28, abhishek jain wrote:
Hi,
i have the following in bin/catalina.sh

   JAVA_OPTS="$JAVA_OPTS -server -Xms512M -Xmx1024M -XX:MaxPermSize=1024M
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"

still i get the permgen error exception everyday, pl. someone help, i have
about 7 applications in struts running on the server, the applications are
in struts 1.2 , mysql, tomcat 5.5, and are not big applications with about
only a few jsps.

I consider the applications written properly, pl. help,



--
web: http://nerderg.com
Twitter: http://twitter.com/pmcneil


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to