Re: Heap Size for Tomcat

2002-05-16 Thread Phillip Morelock

i guess it's a matter of opinion, although i've personally never fed options
to startup.sh, so I can't speak for that.

What **i** do is in startup.sh, that's where I set JAVA_HOME, TOMCAT_HOME,
and TOMCAT_OPTS.  That way I don't have to worry about user environment
variables.  YMMV.

cheers
fillup



On 5/16/02 6:45 PM, "Jacob Hookom" <[EMAIL PROTECTED]> wrote:

> So the correct solution is to modify the startup/shutdown command line
> or to setup TOMCAT_OPTS/CATALINA_OPTS?
> 
> Thanks again for the replies!
> Jake Hookom
> 
> -Original Message-
> From: Phillip Morelock [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 16, 2002 6:46 PM
> To: Tomcat Users List
> Subject: Re: Heap Size for Tomcat
> 
> i actually sent an email regarding this to the list about two weeks ago.
> 
> I believe you are correct -- but I have found (only anecdotally) that
> the
> shutdown one doesn't have a negative impact, because on my platform at
> least
> (linux) -- even though the Virtual size allocated is huge, the resident
> set
> size doesn't grow any more quickly than it actually should (apparently
> at
> least, again I've only experimented with this on Linux).
> 
> cheers
> fillup
> 
> 
> On 5/16/02 4:46 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> 
>> 
>> Well, yeah except  he wants to get more memory... and wouldn't setting
> the
>> XXXOPTS variable set the heap size not just for startup but also
> shutdown?
>> In other words, this way you could get tomcat to start with 512mb of
> heap,
>> but if you call shutdown.bat/shutdown.sh,  the shutdown vm grabs its
> own
>> 512mb heap... I dunno...
>> 
>> troy
>> 
>> 
>> 
>> 
>>         
>> Phillip Morelock
>>  Users
>> List <[EMAIL PROTECTED]>
>> relock.com>  cc:
>>  Subject: Re: Heap
> Size
>> for Tomcat  
>> 05/16/2002 06:19 PM
>> Please respond to
>> "Tomcat Users List"
>> 
>> 
>> 
>> 
>> 
>> 
>> The "official" way to do it is to set a
>> TOMCAT_OPTS
>> or
>> CATALINA_OPTS
>> 
>> variable with the string that you would normally feed the VM.  (like
> -Xms
>> or
>> whatever).  TOMCAT is for 3.x, CATALINA is for 4.x
>> 
>> cheers
>> fillup
>> 
>> 
>> 
>> On 5/16/02 3:57 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>> 
>>> 
>>> my understanding is that any parameters you pass to bin/startup.bat
> or
>>> bin/startup.sh on the command line will be passed through to the java
> vm,
>>> such as mx128m or -D property=something .
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> "Jacob Hookom"
>>> <[EMAIL PROTECTED] To:  "'Tomcat Users
>> List'"
>>> <[EMAIL PROTECTED]>
>>> du>  cc:
>>>  Subject: Heap Size for
>> Tomcat
>>> 05/16/2002 01:57
>>> PM
>>> Please respond
>>> to "Tomcat Users
>>> List"
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Hello All,
>>> 
>>> I was wondering where I can modify the initial heap size settings for
>>> tomcat to use.  Or more primarily, where the command line is that
> tomcat
>>> uses to initialize its VM.
>>> 
>>> Thanks,
>>> Jake Hookom
>>> 
>>> ---
>>> Outgoing mail is certified Virus Free.
>>> Checked by AVG anti-virus system (http://www.grisoft.com).
>>> Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
>>> 
>>> 
>>> 
>>> --
>>> To unsubscribe, e-mail:   <
>>> mailto:[EMAIL PROTECTED]>
>>> For additional commands, e-mail: <
>>> mailto:[EMAIL PROTECTED]>
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> --
>>> To unsubscribe, e-mail:   <
>> mailto:[EMAIL PROTECTED]>
>>> For additional commands, e-mail: <
>> mailto:[EMAIL PROTECTED]>
>>> 
>> 
>> 
>> --
>> To unsubscribe, e-mail:   <
>> mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail: <
>> mailto:[EMAIL PROTECTED]>
>> 
>> 
>> 
>> 
>> 
>> 
>> --
>> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


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




RE: Heap Size for Tomcat

2002-05-16 Thread Jacob Hookom

So the correct solution is to modify the startup/shutdown command line
or to setup TOMCAT_OPTS/CATALINA_OPTS?

Thanks again for the replies!
Jake Hookom

-Original Message-
From: Phillip Morelock [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, May 16, 2002 6:46 PM
To: Tomcat Users List
Subject: Re: Heap Size for Tomcat

i actually sent an email regarding this to the list about two weeks ago.

I believe you are correct -- but I have found (only anecdotally) that
the
shutdown one doesn't have a negative impact, because on my platform at
least
(linux) -- even though the Virtual size allocated is huge, the resident
set
size doesn't grow any more quickly than it actually should (apparently
at
least, again I've only experimented with this on Linux).

cheers
fillup


On 5/16/02 4:46 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> 
> Well, yeah except  he wants to get more memory... and wouldn't setting
the
> XXXOPTS variable set the heap size not just for startup but also
shutdown?
> In other words, this way you could get tomcat to start with 512mb of
heap,
> but if you call shutdown.bat/shutdown.sh,  the shutdown vm grabs its
own
> 512mb heap... I dunno...
> 
> troy
> 
> 
> 
> 
>  
> Phillip Morelock
>  List <[EMAIL PROTECTED]>
> relock.com>          cc:
>  Subject: Re: Heap
Size
> for Tomcat   
> 05/16/2002 06:19 PM
> Please respond to
> "Tomcat Users List"
>  
>  
> 
> 
> 
> 
> The "official" way to do it is to set a
> TOMCAT_OPTS
> or
> CATALINA_OPTS
> 
> variable with the string that you would normally feed the VM.  (like
-Xms
> or
> whatever).  TOMCAT is for 3.x, CATALINA is for 4.x
> 
> cheers
> fillup
> 
> 
> 
> On 5/16/02 3:57 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> 
>> 
>> my understanding is that any parameters you pass to bin/startup.bat
or
>> bin/startup.sh on the command line will be passed through to the java
vm,
>> such as mx128m or -D property=something .
>> 
>> 
>> 
>> 
>> 
>> 
>> "Jacob Hookom"
>> <[EMAIL PROTECTED] To:  "'Tomcat Users
> List'"
>> <[EMAIL PROTECTED]>
>> du>  cc:
>>  Subject: Heap Size for
> Tomcat
>> 05/16/2002 01:57
>> PM
>> Please respond
>> to "Tomcat Users
>> List"
>> 
>> 
>> 
>> 
>> 
>> 
>> Hello All,
>> 
>> I was wondering where I can modify the initial heap size settings for
>> tomcat to use.  Or more primarily, where the command line is that
tomcat
>> uses to initialize its VM.
>> 
>> Thanks,
>> Jake Hookom
>> 
>> ---
>> Outgoing mail is certified Virus Free.
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
>> 
>> 
>> 
>> --
>> To unsubscribe, e-mail:   <
>> mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail: <
>> mailto:[EMAIL PROTECTED]>
>> 
>> 
>> 
>> 
>> 
>> 
>> --
>> To unsubscribe, e-mail:   <
> mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail: <
> mailto:[EMAIL PROTECTED]>
>> 
> 
> 
> --
> To unsubscribe, e-mail:   <
> mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <
> mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> 


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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
 


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




Re: Heap Size for Tomcat

2002-05-16 Thread Phillip Morelock

i actually sent an email regarding this to the list about two weeks ago.

I believe you are correct -- but I have found (only anecdotally) that the
shutdown one doesn't have a negative impact, because on my platform at least
(linux) -- even though the Virtual size allocated is huge, the resident set
size doesn't grow any more quickly than it actually should (apparently at
least, again I've only experimented with this on Linux).

cheers
fillup


On 5/16/02 4:46 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> 
> Well, yeah except  he wants to get more memory... and wouldn't setting the
> XXXOPTS variable set the heap size not just for startup but also shutdown?
> In other words, this way you could get tomcat to start with 512mb of heap,
> but if you call shutdown.bat/shutdown.sh,  the shutdown vm grabs its own
> 512mb heap... I dunno...
> 
> troy
> 
> 
> 
> 
>  
> Phillip Morelock
>  List <[EMAIL PROTECTED]>
> relock.com>          cc:
>  Subject: Re: Heap Size
> for Tomcat   
> 05/16/2002 06:19 PM
> Please respond to
> "Tomcat Users List"
>  
>  
> 
> 
> 
> 
> The "official" way to do it is to set a
> TOMCAT_OPTS
> or
> CATALINA_OPTS
> 
> variable with the string that you would normally feed the VM.  (like -Xms
> or
> whatever).  TOMCAT is for 3.x, CATALINA is for 4.x
> 
> cheers
> fillup
> 
> 
> 
> On 5/16/02 3:57 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> 
>> 
>> my understanding is that any parameters you pass to bin/startup.bat or
>> bin/startup.sh on the command line will be passed through to the java vm,
>> such as mx128m or -D property=something .
>> 
>> 
>> 
>> 
>> 
>> 
>> "Jacob Hookom"
>> <[EMAIL PROTECTED] To:  "'Tomcat Users
> List'"
>> <[EMAIL PROTECTED]>
>> du>  cc:
>>  Subject: Heap Size for
> Tomcat
>> 05/16/2002 01:57
>> PM
>> Please respond
>> to "Tomcat Users
>> List"
>> 
>> 
>> 
>> 
>> 
>> 
>> Hello All,
>> 
>> I was wondering where I can modify the initial heap size settings for
>> tomcat to use.  Or more primarily, where the command line is that tomcat
>> uses to initialize its VM.
>> 
>> Thanks,
>> Jake Hookom
>> 
>> ---
>> Outgoing mail is certified Virus Free.
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
>> 
>> 
>> 
>> --
>> To unsubscribe, e-mail:   <
>> mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail: <
>> mailto:[EMAIL PROTECTED]>
>> 
>> 
>> 
>> 
>> 
>> 
>> --
>> To unsubscribe, e-mail:   <
> mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail: <
> mailto:[EMAIL PROTECTED]>
>> 
> 
> 
> --
> To unsubscribe, e-mail:   <
> mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <
> mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


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




Re: Heap Size for Tomcat

2002-05-16 Thread Wagner Danda

Hello,


is it important to use the -Xms and -Xmx with tomcat? Doesn´t he already 
manage the heap? When I should use this and when I should not?

Thanks.

Wagner Danda

Phillip Morelock wrote:

>The "official" way to do it is to set a
>TOMCAT_OPTS
>or
>CATALINA_OPTS
>
>variable with the string that you would normally feed the VM.  (like -Xms or
>whatever).  TOMCAT is for 3.x, CATALINA is for 4.x
>
>cheers
>fillup
>
>
>
>On 5/16/02 3:57 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>>my understanding is that any parameters you pass to bin/startup.bat or
>>bin/startup.sh on the command line will be passed through to the java vm,
>>such as mx128m or -D property=something .
>>
>>
>>
>>
>>
>> 
>>"Jacob Hookom"
>><[EMAIL PROTECTED] To:  "'Tomcat Users List'"
>><[EMAIL PROTECTED]>
>>du>  cc:
>> Subject: Heap Size for Tomcat
>>05/16/2002 01:57
>>PM
>>Please respond
>>to "Tomcat Users
>>List"
>> 
>> 
>>
>>
>>
>>
>>Hello All,
>>
>>I was wondering where I can modify the initial heap size settings for
>>tomcat to use.  Or more primarily, where the command line is that tomcat
>>uses to initialize its VM.
>>
>>Thanks,
>>Jake Hookom
>>
>>---
>>Outgoing mail is certified Virus Free.
>>Checked by AVG anti-virus system (http://www.grisoft.com).
>>Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
>>
>>
>>
>>--
>>To unsubscribe, e-mail:   <
>>mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail: <
>>mailto:[EMAIL PROTECTED]>
>>
>>
>>
>>
>>
>>
>>--
>>To unsubscribe, e-mail:   
>>For additional commands, e-mail: 
>>
>
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 
>
>
>




Re: Heap Size for Tomcat

2002-05-16 Thread TMotte


Well, yeah except  he wants to get more memory... and wouldn't setting the
XXXOPTS variable set the heap size not just for startup but also shutdown?
In other words, this way you could get tomcat to start with 512mb of heap,
but if you call shutdown.bat/shutdown.sh,  the shutdown vm grabs its own
512mb heap... I dunno...

troy




   
 
  Phillip Morelock 
 

  relock.com>  cc: 
 
   Subject: Re: Heap Size for 
Tomcat
  05/16/2002 06:19 PM  
 
  Please respond to
 
  "Tomcat Users List"  
 
   
 
   
 




The "official" way to do it is to set a
TOMCAT_OPTS
or
CATALINA_OPTS

variable with the string that you would normally feed the VM.  (like -Xms
or
whatever).  TOMCAT is for 3.x, CATALINA is for 4.x

cheers
fillup



On 5/16/02 3:57 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

>
> my understanding is that any parameters you pass to bin/startup.bat or
> bin/startup.sh on the command line will be passed through to the java vm,
> such as mx128m or -D property=something .
>
>
>
>
>
>
> "Jacob Hookom"
> <[EMAIL PROTECTED] To:  "'Tomcat Users
List'"
> <[EMAIL PROTECTED]>
> du>  cc:
>  Subject: Heap Size for
Tomcat
> 05/16/2002 01:57
> PM
> Please respond
> to "Tomcat Users
> List"
>
>
>
>
>
>
> Hello All,
>
> I was wondering where I can modify the initial heap size settings for
> tomcat to use.  Or more primarily, where the command line is that tomcat
> uses to initialize its VM.
>
> Thanks,
> Jake Hookom
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
>
>
>
> --
> To unsubscribe, e-mail:   <
> mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <
> mailto:[EMAIL PROTECTED]>
>
>
>
>
>
>
> --
> To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>
>


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






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




Re: Heap Size for Tomcat

2002-05-16 Thread Phillip Morelock

The "official" way to do it is to set a
TOMCAT_OPTS
or
CATALINA_OPTS

variable with the string that you would normally feed the VM.  (like -Xms or
whatever).  TOMCAT is for 3.x, CATALINA is for 4.x

cheers
fillup



On 5/16/02 3:57 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> 
> my understanding is that any parameters you pass to bin/startup.bat or
> bin/startup.sh on the command line will be passed through to the java vm,
> such as mx128m or -D property=something .
> 
> 
> 
> 
> 
>  
> "Jacob Hookom"
> <[EMAIL PROTECTED] To:  "'Tomcat Users List'"
> <[EMAIL PROTECTED]>
> du>  cc:
>  Subject: Heap Size for Tomcat
> 05/16/2002 01:57
> PM
> Please respond
> to "Tomcat Users
> List"
>  
>  
> 
> 
> 
> 
> Hello All,
> 
> I was wondering where I can modify the initial heap size settings for
> tomcat to use.  Or more primarily, where the command line is that tomcat
> uses to initialize its VM.
> 
> Thanks,
> Jake Hookom
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
> 
> 
> 
> --
> To unsubscribe, e-mail:   <
> mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <
> mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Heap Size for Tomcat

2002-05-16 Thread TMotte


my understanding is that any parameters you pass to bin/startup.bat or
bin/startup.sh on the command line will be passed through to the java vm,
such as mx128m or -D property=something .





   
 
  "Jacob Hookom"   
 
  <[EMAIL PROTECTED] To:  "'Tomcat Users List'" 
<[EMAIL PROTECTED]>  
  du>  cc: 
 
   Subject: Heap Size for Tomcat   
 
  05/16/2002 01:57 
 
  PM   
 
  Please respond   
 
  to "Tomcat Users 
 
  List"
 
   
 
   
 




Hello All,

I was wondering where I can modify the initial heap size settings for
tomcat to use.  Or more primarily, where the command line is that tomcat
uses to initialize its VM.

Thanks,
Jake Hookom

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002



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






--
To unsubscribe, e-mail:   
For additional commands, e-mail: