On 12/11/2010 18:13, Brian wrote:
> I found the problem.... and this time it wasn't my fault!  :-)

I wouldn't be so sure about that just yet.

> I used a profiler (www.yourkit.com) and took a snapshot of all the objects
> in the JVM. I found that tons of RAM is being used by images of my delivered
> http responses. I mean, I have thousands of static HTML pages in my site. It
> seems that Tomcat is saving their content in the memory, as a cache, in
> thousands of objects. 

Tomcat's static content cache is 10MB per web application by default. I
suspect something else is holding on to those references. Where to the
GC roots trace to?

> That was the hardest part, to find out that. Now I wonder where do I
> configure Tomcat to stop doing this, or at least to reduce the cache.....

You need to confirm what is holding on to those references first.

Mark

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

Reply via email to