tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Crowther" <>
Subject RE: Memory problems
Date Tue, 21 Aug 2007 11:26:13 GMT
> 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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message