What if I had a few connection-instances running on the same machine on
different ports. If I setup the TOMCAT_OPTS value wouldn't restrict the
entire environment to that heap size, or would each  connection get the
value of the TOMCAT_OPTS value?

 Need some .EDU on this one. Thanks.

- Greg

-----Original Message-----
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 8:58 AM
To: Tomcat Users List
Subject: RE: How to Increasing Tomcat memory?



        You need to put the -Xms (for minimum Java Heap memory) and -Xmx
(for maximum Java Heap memory) where ever you start up Tomcat.  You can hard
code it into the tomcat.bat/tomcat.sh/wrapper.properties file as
appropriate, or you can set environment variable TOMCAT_OPTS (for TC 3.x) or
CATALINA_OPTS (for TC 4.x).

        Randy

> -----Original Message-----
> From: Greg Jones [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 19, 2001 9:07 AM
> To: 'Tomcat Users List'
> Subject: RE: How to Increasing Tomcat memory?
>
>
> It goes in the server.xml file in your connector section.
>
> i.e.
>
>    <Connector className="xxx.yyy.zzz">
>       <Parameter name="-mx" value="256000"/>
>    </Connector>
>
> I use the -mx extention, but I believe you can use the -Xms
> and get the
> results you need.
>
> - Greg
>
> -----Original Message-----
> From: Jack Li [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 18, 2001 4:44 PM
> To: '[EMAIL PROTECTED]'
> Subject: How to Increasing Tomcat memory?
>
>
> Hi,
>
> I need to allocate more memory to Tomcat 3.2.1. How can I do
> it? I know to
> put -Xms somewhere. What is the exact lines to put and where
> to put the
> line?
>
> Thanks,
> Jack
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to