Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Memory usage with multiple instances of tomcat

Peter Sparkes

2007-08-04

Replies:

Thanks Adrian

Regards

Peter
> You'll need to allocate 2GB to each Tomcat instance. As long as you
> use the standard Tomcat startup scripts each Tomcat instance will run
> in a separate JVM (you'd have to be pretty deliberate about making it
> run any other way).
>
> Regards,
>
> Adrian Sutton
> http://www.symphonious.net
>
>
>
> On 04/08/2007, at 4:16 PM, Peter Sparkes wrote:
>
>> Hi,
>>
>> I followed the "Tomcat with 8 GB memory" thread but did not find the
>> answer to the following question:
>>
>> I am setting up a Linux server with 8 GB memory which will be running
>> 3 instances of tomcat 5,5; when I allocate memory to java, say 2GB:
>>
>> 1. Does each tomcat instance use a separate 2 GB of memory, ie the 3
>> instance use 6 GB between them ?
>> 2. or do they potentially share they same memory?
>>
>> In other words with the 6GB I want to share between the 3 separate
>> Tomcat instances do I allocate the whole 6GB to Java or 2GB
>>
>> Thank you
>>
>> Peter Sparkes
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@(protected)
>> To unsubscribe, e-mail: users-unsubscribe@(protected)
>> For additional commands, e-mail: users-help@(protected)
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.