On 11.04.2014 15:31, André Warnier wrote:

As far as I first understand such things, each of these JSP's gets
compiled into a servlet, and the code of that servlet is held in
memory for an extended period of time, even if unused at any
particular moment. So this is 16000 servlets probably coexisting
(un-)happily inside that JVM. No wonder..

I'm pretty sure that's the problem.
Servlets generated from JSPs contain a bunch of println statements and logic dependant on any tag libraries beign used.
They all will reside in memory for the lifetime of application.
For that huge number of pages I strongly recommend using a templating engine (there are plenty of them).

--
Mikolaj Rydzewski <m...@ceti.pl>


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

Reply via email to