How can I profile servlets or JSPs in Tomcat using JProbe?
I have a JSP file with about 100 custom tags and when it compiles in the JSP container (tested with Tomcat and Jetty) the JVM takes up to 100Mb of RAM (peak) and crashes if no more memory is available. To solve the problem temporarily I choose to work with tags without body and using the pageContext.getOut().print() methods for single values. Is there any way to make this procedure take less memory? When it’s compiled it takes about 20Mb of memory on each request which is ok.