https://bz.apache.org/bugzilla/show_bug.cgi?id=57809

            Bug ID: 57809
           Summary: Don't store merged web.xml
           Product: Tomcat 8
           Version: trunk
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: kus...@gmx.net

Created attachment 32647
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32647&action=edit
simple patch

I analyzed several heap dumps to find out why for small applications Tomcat
uses more memory than Jetty. Some of this seems to come from the fact that for
ever web application a merged web.xml is stored in memory. A comment in
ContextConfig suggests that this was once necessary for Jasper but it looks as
if the relevant TODO has been fixed by now.

On a default Tomcat with the default applications this saves about 1MB.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to