Hi, You can add "-XX:PermSize=256m" because Xms/Xmx is good to heap but not for Perm.
Best regards, Nicolas -----Message d'origine----- De : Emmanouil Batsis (Manos) [mailto:[email protected]] Envoyé : jeudi 29 janvier 2009 16:19 À : [email protected] Objet : Task Scheduler OutOfMemoryError I got two roller instances in a single tomcat installation with different directory paths for themes uploads etc. Velocity caching is on and only a couple of users are using the instances every now and then for testing. Tomcat keeps hanging with permgen space very often though (as in times per day) and I can't figure out whats wrong. My catalina.sh has a JAVA_OPTS with enough memory, i.e: # OS specific support. $var _must_ be set to either true or false. JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun JAVA_OPTS="$JAVA_OPTS -Xms1024M -Xmx1536M" The log just says: Exception in thread "Roller Weblogger Task Scheduler" java.lang.OutOfMemoryError: PermGen space Can someone please let me know what I'm missing or what should I check next? Thanks, Manos
