You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Omair-Inam Abdul-Matin <om...@gmail.com> on 2012/08/17 19:01:50 UTC

Tomcat 6.0.35: Memory leak in JspRuntimeContext

Hi all,

I'm investigating high memory usage in a web application running on
Tomcat... Analysis of the heap in Yourkit shows high memory usage on
JspRuntimeContext...

[image: Inline image 1]

We're not running tomcat in development
mode<http://blogs.atlassian.com/2007/04/4_more_days_in_a_leaky_boat/>...
I took a peek at the heap and saw this:

[image: Inline image 2]

Basically Jsps that have been loaded in the past are stored in the map
keyed by the JSP path... is there a way to reduce memory usage or cleanup
the context ...?

Omair