On 12/11/2010 19:12, Brian wrote:
> Oh, I think I found what you were asking, the "path to the GC root": 
> 
> org.apache.naming.resources.FileDirContext$FileResource
> org.apache.naming.resources.CacheEntry
> org.apache.naming.resources.CacheEntry[XXX]
> org.apache.naming.resources.ResourceCache
> org.apache.naming.resources.ProxyDirContext
> etc 
> etc
> etc

OK, that is indeed Tomcat's static file cache. Given you only have two
WARs and the default cache size is 10MB per WAR I am struggling to see
how this could be causing an OOME.

Anyway, the settings for this are on the Context element. The simplest
way to disable static file caching everywhere is to add the following to
the Context element in CATALINA_BASE/conf/context.xml

cachingAllowed="false"

Mark

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

Reply via email to