Another update.

Before any fixes, my tests showed a heap of ~1GB with ~30% used by
WebappClassLoader and 50% by JarResourceSet

The WebappClassLoader issue was triggered by JAR scanning. Disabling /
limiting JAR scanning will reduce the impact of this issue.
The issue has been fixed in 9.0.x and 8.0.x and will be included in
9.0.0.M4 and 8.0.33 onwards.

The JarResourceSet issue was hard coded. There is no way to work around
it. This has also been fixed in 9.0.x and 8.0.x and will be included in
9.0.0.M4 and 8.0.33 onwards.

Regressions are possible but unlikely. All the unit tests pass and I
have been using Atlassian Jira as a test app to check for changes in
start time and as a smoke test. There is a small increase in start time
with fix for the JarResourceSet issue (~5%) but the reduction in memory
usage more than makes up for it.

Are you able to build Tomcat 8.0.x from source to test locally or would
you like me to provide you with a test build?

Looking at the heap dump, there are still a few areas where it may be
possible to reclaim more memory. This is on my TODO list and I hope to
get to it before the next releases.

Mark

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

Reply via email to