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. > > 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.
Thanks, I'll give that a try. --Jeff > If you would like to limit the amount of resident memory that is used, > you can disable pooling of buffer objects completely using the > "org.apache.jasper.runtime.JspFactoryImpl.USE_POOL" system property set > to "false". The performance will go down further due to object > allocations and GC activity, but you may have a few CPU cycles to spare. > > BTW, you can set system properties in the catalina.properties file > (although you may set them on the command line too). > > Rémy > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]