You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by mrkmrk <mr...@autocom.dk> on 2007/06/28 09:01:59 UTC

Tomcat 5.5.9 memory problems

Hi

We're using Tomcat 5.5.9 embedded in JBoss 4.0.2 as a server supplying pdf 
files.

The Servlet contains a map of entries <id, pdf byte[]>
Entries are removed if a memory threshold is exceeded.

The problem is that the map contains fewer and fewer entries as time goes 
by.
It seems that Tomcat caches previously used byte[] in objects of the type 
org.apache.util.buf.ByteChunk. These objects are again contained in 
OutputBuffers and IntermediateOutputStreams. These objects take more and 
more space thus leaving less room for the entries in the map.

How do I get Tomcat to remove these objects from its internal cache?

Best regards,
Morten Knudsen




-- 
View this message in context: http://www.nabble.com/Tomcat-5.5.9-memory-problems-tf3992793.html#a11338090
Sent from the Tomcat - User mailing list archive at Nabble.com.


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