Hi,

We are trying to upgrade Tomcat from an older version 3.x to 5.x and noticing 
that Tomcat 5.x requires quite more memory than 3.x. We are running it in 
constrained env. with limited  memory and other resources.
 
In order to fully explore all possibilities, we  also ran Embedded Tomcat for 
our web apps and it seems to be saving some memory but not significantly less 
than regular tomcat. (About 3MB saving in embedded)
 
Regular tomcat 5.x with our webapps(total 5) takes about ~66m (RSS portion)
Embedded tomcat with above apps takes about ~63m (RSS portion)
 
I am curious to know are there more tweaks that can be tried on Embedded 
Tomcat to  reduce 
memory usage further ? We tried Embedded Tomcat that creates shared class 
loader and set it as parent classloader on Tomcat engine and adding all of our 
webapps context in engine, which seems to be saving memory upto 3 MB.
 
Is Embedded Tomcat going to help further in reducing memory usage in general 
(more than 3mb)  ?

Are there more ways to reduce memory in regular Tomcat 5.x ? (server.xml is 
pretty much trimmed down to bare minimum, no JMX listens, min threads , no 
extra connectors etc)
 
What portion of Tomcat code internals we can not build Or trim in regular 
Tomcat to save more, if any ?
 
Thanks for your help.
 
Thanks,
Chirag



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to