DIGLLOYD INC wrote:
> Thanks to multiple people responding to this!
> 
> My site diglloyd.com serves almost entirely static content, with many
> large JPEG files.
> 
> I have set:
> CATALINA_OPTS=-Xmx1024M
> 
> That's limiting the JVM to 1GB of memory. And in
> tomcat/conf/context.xml, I set:
> 
> <Context  cacheMaxSize="1500000" cacheTTL="60000" cachingAllowed="true" >
> 
> Therein presumably lies the problem.  I'll change CATALINA_OPTS to be
> 2GB or so and retry.

You'll probably need to be using a 64-bit JVM to set that to 2GB.

> Mark, it would be helpful to be able to say "don't cache anything larger
> the N kilobytes/megabytes". I'd probably use a setting of 2MB or so for
> that.
cacheObjectMaxSize is now configurable (at least in trunk). The only
limitation is that it can't be greater than cacheMaxSize/20.

Mark



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to