Jost Richstein wrote: > Use for example -XX:MaxPermSize=128m as a parameter to the VM to extend > the PermSize. Default is 64m.
This will delay the time to the OOM error but it won't fix it. What you really need to do is get hold of a profiler and find out what memory is leaking memory where. It might be Tomcat but is more likely to be your application. Mark > Michal Glowacki schrieb: >> Hi >> >> After upgrading to Tomcat 5.5.20 (in jboss 4.0.5ga) I keep getting >> OutOfMemoryException: PermGen space every hour (more or less) during >> deployment. I can't solve this problem, I had changed GC interval from 1 >> hours to 15mins, but didn't help. JVM Memory settings are as follows: >> >> JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m >> JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=900000 >> -Dsun.rmi.dgc.server.gcInterval=900000 >> JAVA_OPTS=-Xdebug >> -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y >> %JAVA_OPTS% >> >> Can anyone help? It's little bit annoying during development, when I >> have to >> restart server every XX minutes. >> >> Regards, >> Michal >> >> PS. Sorry if it's not Tomcat but Jboss issue, still learning... >> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]