Articles listed under: Java
There are basically 3 types of profiling:
time – measures the execution paths of your application on the method level
space – gives you insight into the development of the heap, such as which methods allocate
most memory
thread – these analyze thread synchronization issues
Some traditional profilers dump their profiling data after the application exits. JProfiler is an interactive [...]
READ FULL ARTICLE
Filters are java components you can use to intercept and process requests before they are sent to the servlet, or to process responses after the servlet has completed (before the response is sent to the client). They are one of the most powerful tools you can use in a web application and are well-suited to [...]
READ FULL ARTICLE
CATALINA_OPTS or JAVA_OPTS?
CATALINA_OPTS is used to control Tomcat environment options, whereas JAVA_OPTS controls the environment options at a higher level ie. for any Java library.
You can start Tomcat with more heap memory using the following:
On Windows
Edit the file $TOMCAT_HOME\bin\startup.bat and insert or alter the following line, substituting for the desired values:
set CATALINA_OPTS=-Xms(min heap)m -Xmx(max heap)m
For [...]
READ FULL ARTICLE