Resending it ... as it did not get any response. Can somebody help?

Hi All,

I see that tomcat maintains a cache of resources for each web application. Basically 
all web application resource like web.xml , taglibrary files, jsp files, java scripts, 
images etc seem to loaded in to the web application cache in memory, provided they are 
less than 32k. 

I have a reporting application that generates images all the time (pie charts, bar 
charts). I see that these keep getting loaded in to the tomcat cache but never 
unloaded. From looking at the tomcat proxydircontext code, I cant seem to find any 
mechanism to control the cache. The cache seems to grow indefinitely and my old images 
dont get unloaded. All my old charts that got loaded in to the cache still remain 
there and dont get flushed. I have been running my application for over a week now and 
my tomcat memory keeps shooting up. 

When I provide it I see that my webapplication resource cache has 10000 objects in 
memory and still keeps growing.

How do I handle this case. Is there a way to control this cache? Can  somebody help me 
with this?

Any help is greatly appreciated

Thanx
Ganesh

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to