Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I profile servlets or JSPs in Tomcat using JProbe?

0
Posted

How can I profile servlets or JSPs in Tomcat using JProbe?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123