On 01/09/17 10:03, Johan Compagner wrote:
> Hi,
> 
> i got reports that running jasper reports is suddenly a lot slower when
> deployed..
> (compared what he uses in developer)
> Running a report was 0-2 seconds in its developer but at least 10 seconds
> when running deployed.
> 
> We tracked it down, in developer the listener:
> 
> <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"
> />
> 
> 
> 
> 
> was not in the server.xml and at deploy it is a standard latest tomcat
> install which enables that by default
> 
> If i look at this, i wonder which part makes it much slower
> https://tomcat.apache.org/tomcat-8.0-doc/config/listeners.html#JRE_Memory_Leak_Prevention_Listener_-_org.apache.catalina.core.JreMemoryLeakPreventionListener

You can disable each protection individually so you should be able to
answer that question yourself. (And the answer would be very interesting.)

Mark

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

Reply via email to