Howdy, One idea that may be possible is to not share development, testing, and production machines. Ideally, the production server should be by itself, powerful, and containing the bare minimum software to run your application. (This is for both performance and security reasons).
I'm not doubting it, but I'm curious: what makes you think that tomcat internals are taking up a lot of memory compared to your application classes? Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Centaur zeus [mailto:[EMAIL PROTECTED]] >Sent: Thursday, July 11, 2002 3:15 AM >To: [EMAIL PROTECTED] >Subject: Is there ways to minize the memory used by tomcat ? > >Hi all , > > I am developing an application using tomcat. As I put development, >testing >and production in the same environment. And each environment has 2 >instances. So there are now altogather 6 instances in the machine. My >machine is getting slower. Actually, my application is only a small one and >there are only just 20~30 ppl using it. So is there anyway to make tomcat >eat up less memory ? > > Here is my server.xml for one of the instance. The others are alike > ><Server port="8010" shutdown="SHUTDOWN" debug="0"> > <Service name="foo"> > <Connector className="org.apache.catalina.connector.http.HttpConnector" > port="8000" minProcessors="5" maxProcessors="75" > enableLookups="true" redirectPort="8005" > acceptCount="10" debug="0" connectionTimeout="60000"/> > <Engine name="eAdminEngine" defaultHost="localhost" debug="0"> > <Host name="localhost" debug="0" appBase="/dvl/admin/perseus_www/" >unpackWARs="true"> > <Logger className="org.apache.catalina.logger.FileLogger" > directory="/dvl/admin/perseus_www/log" prefix="localhost_log." >suffix=".txt" > timestamp="true"/> > <Context path="" docBase="" debug="0" > reloadable="true" crossContext="true"> > <Logger className="org.apache.catalina.logger.FileLogger" > directory="/dvl/admin/perseus_www/log" prefix="log" >suffix=".txt" > timestamp="true"/> > <Resource name="jdbc/EAdminDB" auth="Container" >type="javax.sql.DataSource"/> > <ResourceParams name="jdbc/EAdminDB"> > <parameter> > <name>user</name> > <value>xxx</value> > </parameter> > <parameter> > <name>password</name> > <value>xxx</value> > </parameter> > <parameter> > <name>driverClassName</name> > <value>oracle.jdbc.driver.OracleDriver</value> > </parameter> > <parameter> > <name>driverName</name> > <value>jdbc:oracle:thin:@xxx:1521:xxx</value> > </parameter> > </ResourceParams> > </Context> > </Host> > </Engine> > </Service> ></Server> > >Thanks > > >_________________________________________________________________ >Send and receive Hotmail on your mobile device: http://mobile.msn.com > > >-- >To unsubscribe, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>