You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Abhi Karmos <ak...@hotmail.com> on 2006/04/19 05:18:59 UTC
Tomcat memory usage 3.3 vs 5.5
Hello all,
We run tomcat inside an embedded system and we are planning to upgrade the
tomcat version from 3.3.1 to 5.5.16. We noticed that the memory footprint of
a barebones tomcat 5.5 installation is 44 MB. Plain and simple Tomcat 3.3
used to run with 25 MB. We have limited memory on our system and the memory
usage of tomcat 5.5 is a concern for us.
The numbers above are the resident set size (RSS) on a linux system. When we
took the above numbers, both the tomcats had the same heap setting (min:
25 - max: 30 mb).
When we run our webapps, which add another 20 jars in the classpath, the
steady state memory usage is 50 MB with Tomcat 3.3 and 66 MB with Tomcat
5.5.
Has anyone else solved a similar problem before ? Can I try and tweak tomcat
5.5 to run in less memory ? Our server.xml is the minimal configuration
possible.
Regards,
Abhi.
OS: Linux / RedHat 7.3
JVM: IBM 1.4.2
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat memory usage 3.3 vs 5.5
Posted by Abhi Karmos <ak...@hotmail.com>.
Hey thanks for your comments -
1. Our applications are fixed. We have removed all unnecessary apps.
2. Unwanted jars/classes are not loaded into physical memory by IBM JVM on
Linux. So, it will not add to RSS. We have done some experiments and are
sure of this claim.
Abhi.
"manivannan57" <ma...@aim.com> wrote in message
news:3982404.post@talk.nabble.com...
>
> 1) Reduce the number of applications you load during start-up.
> 2) Remove unwanted jars from WEB-INF/lib and also from
> <tomcat-home>/common/lib
> 3) Also remove wherever the jars seem to be unnecessary.
>
>
> --
> View this message in context:
> http://www.nabble.com/Tomcat-memory-usage-3.3-vs-5.5-t1472557.html#a3982404
> Sent from the Tomcat - User forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat memory usage 3.3 vs 5.5
Posted by manivannan57 <ma...@aim.com>.
1) Reduce the number of applications you load during start-up.
2) Remove unwanted jars from WEB-INF/lib and also from
<tomcat-home>/common/lib
3) Also remove wherever the jars seem to be unnecessary.
--
View this message in context: http://www.nabble.com/Tomcat-memory-usage-3.3-vs-5.5-t1472557.html#a3982404
Sent from the Tomcat - User forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org