tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48358] JSP-unloading reloaded
Date Thu, 02 Dec 2010 15:00:19 GMT

--- Comment #15 from Christian Brandel <> 2010-12-02 10:00:12 EST ---
Tha patch applies cleanly to 6.0.29 from the src archive.
However it does not work for me the way I expected it and I am still facing
PermGen Out Of Memory errors.

- The counters in the JspMonitor MBean for jspCount, jspReloadCount,
jspUnloadCount, jspQueueLength were updated appropriately

- When running with -XX:+TraceClassUnloading I did not see any org.apache.jsp.*
classes being unloaded until I shut down the Tomcat process

- Looking at a Heap Dump written at the time of the crash, I saw 337 instances
of classes being held while I configured the maxLoadedJSPs
to be 200

Are there any additional settings that have to be adapted? My current settings

Java 1.6 32bit on Windows 2003 Server with the following settings (memory
parameters are set to small values to shorten the time until tomcat crashes)

-Xms256m -Xmx256m

Global web.xml:

Side note: If this is not the correct place to discuss this, I'm happy to
continue it elsewhere.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message