On 29/07/2011 09:53, Ian Marsh wrote: > Ok thanks... so here's the trace of the 3 biggest > org.apache.jasper.servlet.JspServletWrapper objects. > > I'm just showing the path of the objects that retain the biggest sizes > at each nested level to save from overkill on detail. There are > references to parent objects at some levels which show a larger > retained size but I expect that's normal. If it would be useful to see > all nested objects at each level, no problem, but here's a first > look... > > 1) > + org.apache.jasper.servlet.JspServletWrapper (1,608,752) > =+ ctxt org.apache.jasper.JspCompilationContext (1,602,384) > ==+ jspCompiler org.apache.jasper.compiler.JDTCompiler (1,601,032) > ===+ pageNodes org.apache.jasper.compiler.Node$Nodes (1,600,952)
Which takes us back to my comment of almost a week ago. You have development mode enabled which retains the pageNodes for improved error messages. Disable development mode and the memory usage should fall. I don't recall any changes to this code bewteen 7.0.8 and 7.0.10 but to be sure, I have double checked that disabling development mode does indeed have the desired effect. To fix this: - edit $CATALINA_BASE/conf/web.xml - find the definition for the servlet named "jsp" - add the following init parameter <init-param> <param-name>development</param-name> <param-value>false</param-value> </init-param> Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org