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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to