I'm looking for more information about the String cache configuration in the
Catalina.properties file.  I've searched through Tomcat documentation and I
can't find any details about this.

We have a servlet that processes requests that can be large, sometimes over
2MB (we have set the MaxPostSize to "0" to handle this). 
We continually were receiving out of memory messages so we ran Tomcat (5.5)
under JProbe and saw that string cache appeared to be the culprit in the
heap.
 
When we set the property tomcat.util.buf.StringCache.byte.enabled to false,
we were able to successfully run with no out of memory messages and a
healthy looking heap.
 
Any pointers to documentation or thoughts about what might be going on is
appreciated.
 
thanks
Ellen O'S.
 

Reply via email to