You assume a memory leak...well, that depends on the application. 64m as
PermSize is not always enough for server site applications. But I agree:
if there is a memory leak you will find it most likely in the application.
Mark Thomas schrieb:
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]
--
Jost Richstein
SoftDeCC Software GmbH
Email: [EMAIL PROTECTED]
Tel.: +49 89 89 06 78 47
Fax.: +49 89 89 06 78 33
SoftDeCC Software GmbH; Gesellschaft mit beschränkter Haftung; Sitz der
Gesellschaft: München; Registergericht: München, HRB 123667; Geschäftsführer:
Ralf Malis, Georg Nüssel, Jost Richstein, Gerd Wilts
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]