Hi,

On Thu, May 04, 2006 at 11:10:20AM +0200, Remy Maucherat wrote:
> Jeff Turner wrote:
> > 1 May:  93 Objects (126Mb)
> > 2 May:  107 Objects (263Mb)
> > 3 May:  492 Objects (486MB)
> 
> BodyContentImpls are pooled and reused since it makes JSP processing 
> significantly faster. If the application is evil, and uses body tags 
> with huge bodies (it seems to be the case here), then there could be a 
> problem.

Just wondering - are all JSP bodies pooled, or only tag bodies? Eg.
would this JSP's body be pooled:

<%= for (int i=0; i<1000000; i++) { out.print("womble"); } %>

Or only if it were wrapped in JSP tag.

> Large buffers may be discarded after usage, by setting the 
> "org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER" system property 
> to "true". Unfortunately, performance will go down and GC activity will 
> go up.

It appears to have fixed the leak on issues.a.o.


Cheers,
Jeff

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to