Skip to content
Advertisement

Tag: profiler

Measure memory consumption with all HttpSessions in Tomcat at an arbitrary point in time

I want to measure the percentage of memory used by HttpSession in a web application. Is there any way to measure memory consumption with all HttpSessions in a running Tomcat instance at an arbitrary point in time without modifying the application? What I have tried In Tomcat, the concrete class of HttpSession is org.apache.catalina.session.StandardSession. I have profiled the application with

Checking Run time in IntelliJ IDEA Ultimate

Can I use InteliJ Ultimate’s profiler to see how long it takes for a method to be executed? Answer Two particularly helpful tools for examining the program at runtime are the debugger and profilers. The debugger is very precise and gives you full and granular control over the execution of the program, which allows you to reproduce intricate failure conditions.

Advertisement