> From: Morten
> According to a heap dump done by jmap, there are many 
> org.apache.tomcat.util.buf.ByteChunk instances referencing 
> large byte[], 
> which we suspect to be previously used pictures.
> 
> We have tried both Tomcat 5.5.9 and Tomcat 6 under JBoss 
> 4.2.0. Both showed 
> the same behaviour.
> 
> Are there any way to stop Tomcat from cached these large 
> byte[] internally?
> The ByteChunks are referenced from IntermediateOutputstream, 
> C2BConverter and OutputBuffer.

Hmm.  Those are all Tomcat util classes, so they're almost certainly
held by something else.  Can you find out what's holding on to those
instances, and make sure the chain of references goes entirely through
Tomcat rather than via JBoss, your webapp or something you've cached in
your session?

                - Peter

---------------------------------------------------------------------
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