You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Johnson, Rob E" <Ro...@onrr.gov> on 2011/02/15 16:51:41 UTC

Tomcat 6 Memory Heap Limit

Hi,
Apache Tomcat 6.0.20
Windows Server 2003
50G RAM
I'm running Apache Tomcat 6.0 as a service on a Windows 2003 Server with
50G of RAM. I want to fully utilize the 50G of RAM (40G) but I cannot
get the Apache Service to start again if I go any higher than the
setting listed below:
-Xms1024m -Xmx1024m
-XX:MaxPermSize=256M
-XX:PermSize=512
I initially used the Tomcat Configuration Manager to attempt to adjust
these setting. I also tried setting them in the registry,
HKLM/software/ApacheSoftwareFoundation/Procrun2.0/Tomcat6/Parameters/Jav
e (jvms and jvmx). I also tried adding creating an Environmental
Variable; JAVA_OPTS -Xms1024m -Xmx1024m.
Thanks,
Rob

Rob Johnson MBA/IT
IT Specialist
ONRR
303-231-3963
303-589-9278 (Cell)



Re: Tomcat 6 Memory Heap Limit

Posted by David kerber <dc...@verizon.net>.
On 2/15/2011 11:15 AM, Johnson, Rob E wrote:
> Thanks,
>
> I have one instance of Tomcat running for a single app. Is is possible
> to create additional instances of tomcat, then cluster or load balance
> the instances, to help my user performance?

That's going to depend entirely on the app, and what your limiting 
factor is right now.  If you just want to support more simultaneous 
users, then probably yes.  If your app doesn't perform well for even a 
single user due to memory restrictions, then probably not.




>
>
> Rob Johnson MBA/IT
> IT Specialist
> ONRR
> 303-231-3963
> 303-589-9278 (Cell)
>
>
> -----Original Message-----
> From: David kerber [mailto:dckerber@verizon.net]
> Sent: Tuesday, February 15, 2011 9:11 AM
> To: Tomcat Users List
> Subject: Re: Tomcat 6 Memory Heap Limit
>
> On 2/15/2011 10:57 AM, Johnson, Rob E wrote:
>> It is a stand alone 32 bit server
>
> The most a 32-bit OS can give to any process is ~3GB, and anything over
> 2GB requires changing some boot settings.  But you'll be able to run a
> bunch of tomcat instances, all with 2 or 3GB, with that much physical
> RAM.
>
>
>
>>
>>
>> Rob Johnson MBA/IT
>> IT Specialist
>> ONRR
>> 303-231-3963
>> 303-589-9278 (Cell)
>>
>>
>> -----Original Message-----
>> From: Leon Rosenberg [mailto:rosenberg.leon@gmail.com]
>> Sent: Tuesday, February 15, 2011 8:55 AM
>> To: Tomcat Users List
>> Subject: Re: Tomcat 6 Memory Heap Limit
>>
>> Windows Server 2003<- is this a 32 bit OS?
>> And if not, are you using 64 bit java vm?
>>
>> regards
>> Leon
>>
>> On Tue, Feb 15, 2011 at 4:51 PM, Johnson, Rob E<Ro...@onrr.gov>
>> wrote:
>>>
>>> Hi,
>>> Apache Tomcat 6.0.20
>>> Windows Server 2003
>>> 50G RAM
>>> I'm running Apache Tomcat 6.0 as a service on a Windows 2003 Server
>>> with 50G of RAM. I want to fully utilize the 50G of RAM (40G) but I
>>> cannot get the Apache Service to start again if I go any higher than
>>> the setting listed below:
>>> -Xms1024m -Xmx1024m
>>> -XX:MaxPermSize=256M
>>> -XX:PermSize=512
>>> I initially used the Tomcat Configuration Manager to attempt to
>>> adjust
>>
>>> these setting. I also tried setting them in the registry,
>>> HKLM/software/ApacheSoftwareFoundation/Procrun2.0/Tomcat6/Parameters/
>>> J av e (jvms and jvmx). I also tried adding creating an Environmental
>
>>> Variable; JAVA_OPTS -Xms1024m -Xmx1024m.
>>> Thanks,
>>> Rob
>>>
>>> Rob Johnson MBA/IT
>>> IT Specialist
>>> ONRR
>>> 303-231-3963
>>> 303-589-9278 (Cell)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 6 Memory Heap Limit

Posted by "Johnson, Rob E" <Ro...@onrr.gov>.
Thanks,

I have one instance of Tomcat running for a single app. Is is possible
to create additional instances of tomcat, then cluster or load balance
the instances, to help my user performance?




Rob Johnson MBA/IT
IT Specialist
ONRR
303-231-3963
303-589-9278 (Cell)


-----Original Message-----
From: David kerber [mailto:dckerber@verizon.net] 
Sent: Tuesday, February 15, 2011 9:11 AM
To: Tomcat Users List
Subject: Re: Tomcat 6 Memory Heap Limit

On 2/15/2011 10:57 AM, Johnson, Rob E wrote:
> It is a stand alone 32 bit server

The most a 32-bit OS can give to any process is ~3GB, and anything over
2GB requires changing some boot settings.  But you'll be able to run a
bunch of tomcat instances, all with 2 or 3GB, with that much physical
RAM.



>
>
> Rob Johnson MBA/IT
> IT Specialist
> ONRR
> 303-231-3963
> 303-589-9278 (Cell)
>
>
> -----Original Message-----
> From: Leon Rosenberg [mailto:rosenberg.leon@gmail.com]
> Sent: Tuesday, February 15, 2011 8:55 AM
> To: Tomcat Users List
> Subject: Re: Tomcat 6 Memory Heap Limit
>
> Windows Server 2003<- is this a 32 bit OS?
> And if not, are you using 64 bit java vm?
>
> regards
> Leon
>
> On Tue, Feb 15, 2011 at 4:51 PM, Johnson, Rob E<Ro...@onrr.gov>
> wrote:
>>
>> Hi,
>> Apache Tomcat 6.0.20
>> Windows Server 2003
>> 50G RAM
>> I'm running Apache Tomcat 6.0 as a service on a Windows 2003 Server 
>> with 50G of RAM. I want to fully utilize the 50G of RAM (40G) but I 
>> cannot get the Apache Service to start again if I go any higher than 
>> the setting listed below:
>> -Xms1024m -Xmx1024m
>> -XX:MaxPermSize=256M
>> -XX:PermSize=512
>> I initially used the Tomcat Configuration Manager to attempt to 
>> adjust
>
>> these setting. I also tried setting them in the registry, 
>> HKLM/software/ApacheSoftwareFoundation/Procrun2.0/Tomcat6/Parameters/
>> J av e (jvms and jvmx). I also tried adding creating an Environmental

>> Variable; JAVA_OPTS -Xms1024m -Xmx1024m.
>> Thanks,
>> Rob
>>
>> Rob Johnson MBA/IT
>> IT Specialist
>> ONRR
>> 303-231-3963
>> 303-589-9278 (Cell)
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 6 Memory Heap Limit

Posted by David kerber <dc...@verizon.net>.
On 2/15/2011 10:57 AM, Johnson, Rob E wrote:
> It is a stand alone 32 bit server

The most a 32-bit OS can give to any process is ~3GB, and anything over 
2GB requires changing some boot settings.  But you'll be able to run a 
bunch of tomcat instances, all with 2 or 3GB, with that much physical RAM.



>
>
> Rob Johnson MBA/IT
> IT Specialist
> ONRR
> 303-231-3963
> 303-589-9278 (Cell)
>
>
> -----Original Message-----
> From: Leon Rosenberg [mailto:rosenberg.leon@gmail.com]
> Sent: Tuesday, February 15, 2011 8:55 AM
> To: Tomcat Users List
> Subject: Re: Tomcat 6 Memory Heap Limit
>
> Windows Server 2003<- is this a 32 bit OS?
> And if not, are you using 64 bit java vm?
>
> regards
> Leon
>
> On Tue, Feb 15, 2011 at 4:51 PM, Johnson, Rob E<Ro...@onrr.gov>
> wrote:
>>
>> Hi,
>> Apache Tomcat 6.0.20
>> Windows Server 2003
>> 50G RAM
>> I'm running Apache Tomcat 6.0 as a service on a Windows 2003 Server
>> with 50G of RAM. I want to fully utilize the 50G of RAM (40G) but I
>> cannot get the Apache Service to start again if I go any higher than
>> the setting listed below:
>> -Xms1024m -Xmx1024m
>> -XX:MaxPermSize=256M
>> -XX:PermSize=512
>> I initially used the Tomcat Configuration Manager to attempt to adjust
>
>> these setting. I also tried setting them in the registry,
>> HKLM/software/ApacheSoftwareFoundation/Procrun2.0/Tomcat6/Parameters/J
>> av e (jvms and jvmx). I also tried adding creating an Environmental
>> Variable; JAVA_OPTS -Xms1024m -Xmx1024m.
>> Thanks,
>> Rob
>>
>> Rob Johnson MBA/IT
>> IT Specialist
>> ONRR
>> 303-231-3963
>> 303-589-9278 (Cell)
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 6 Memory Heap Limit

Posted by Jeffrey Janner <Je...@PolyDyne.com>.

> -----Original Message-----
> From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
> Sent: Tuesday, February 15, 2011 10:01 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 6 Memory Heap Limit
> 
> > From: Johnson, Rob E [mailto:Rob.Johnson@onrr.gov]
> > Subject: RE: Tomcat 6 Memory Heap Limit
> 
> > It is a stand alone 32 bit server
> 
> Then you're stuck.  To get large heap sizes, you'll need a 64-bit OS
> and a 64-bit JVM.
> 
>  - Chuck
> 
You might be able to eek out a few hundred more K using the /3GB OS switch, but not much more.
I don't see why any one Tomcat app would need 40GB of heap, but I assume you know your app better than I.
But Chuck's correct.  If you are getting OOMs at that heap size, then you'll need to switch OS & JVM classes.
Jeff

__________________________________________________________________________

Confidentiality Notice:  This Transmission (including any attachments) may contain information that is privileged, confidential, and exempt from disclosure under applicable law.  If the reader of this message is not the intended recipient you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited.  

If you have received this transmission in error, please immediately reply to the sender or telephone (512) 343-9100 and delete this transmission from your system.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 6 Memory Heap Limit

Posted by "Johnson, Rob E" <Ro...@onrr.gov>.
Thanks for everyone's help.  


Rob Johnson MBA/IT
IT Specialist
ONRR
303-231-3963
303-589-9278 (Cell)


-----Original Message-----
From: Christopher Schultz [mailto:chris@christopherschultz.net] 
Sent: Tuesday, February 15, 2011 9:32 AM
To: Tomcat Users List
Subject: Re: Tomcat 6 Memory Heap Limit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rob,

On 2/15/2011 11:12 AM, Johnson, Rob E wrote:
> That was my next question, should I switch to Linux.

This depends entirely on your own requirements. For example, if your
organization runs all Microsoft, then switching to Linux is probably a
mistake. What kind of support can you get from your IT department (or is
it just you)?

I find that administration of *NIX machines is easier, but that's just
because I have much more experience with them. I find them to be more
stable, reliable, and faster.

> This server is used only as web application server.  I want to give 
> the end users, people logging into the web based app, the best 
> performance.  Currently the system gets very slow with more than 10 
> users on at a time.

If your performance degrades after a 10-user load, I can think of a few
possibilities:

1. Your webapp simply requires lots of resources, and no amount of RAM
   will fix it: fix your app
2. Your webapp is poorly-written and no amount of RAM will fix it:
   fix your app
3. Your database is poorly optimized and a good DBA could help a lot:
   fix your db
4. Microsoft Windows is limiting your incoming connections due to
   licensing restrictions. I don't believe "Server" versions of MS
   Windows do this, but it's worth double-checking. The poor performance
   you observe in this case would be due to the throttling of incoming
   connections, not due to anything the webapp/db can control.

> I'm hoping to utilize the majority fo the 50G's to provide the best 
> performance for the user.

What are you doing with all that RAM? Huge caches?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1aqmQACgkQ9CaO5/Lv0PBPLACePXVAdLsJOu+WgxLNPbC5aVU2
13cAnRDMI6w4wwcBYA1Gto0GRGY4m58e
=peNL
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 6 Memory Heap Limit

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rob,

On 2/15/2011 11:12 AM, Johnson, Rob E wrote:
> That was my next question, should I switch to Linux.

This depends entirely on your own requirements. For example, if your
organization runs all Microsoft, then switching to Linux is probably a
mistake. What kind of support can you get from your IT department (or is
it just you)?

I find that administration of *NIX machines is easier, but that's just
because I have much more experience with them. I find them to be more
stable, reliable, and faster.

> This server is used only as web application server.  I want to give
> the end users, people logging into the web based app, the best
> performance.  Currently the system gets very slow with more than 10
> users on at a time.

If your performance degrades after a 10-user load, I can think of a few
possibilities:

1. Your webapp simply requires lots of resources, and no amount of RAM
   will fix it: fix your app
2. Your webapp is poorly-written and no amount of RAM will fix it:
   fix your app
3. Your database is poorly optimized and a good DBA could help a lot:
   fix your db
4. Microsoft Windows is limiting your incoming connections due to
   licensing restrictions. I don't believe "Server" versions of MS
   Windows do this, but it's worth double-checking. The poor performance
   you observe in this case would be due to the throttling of incoming
   connections, not due to anything the webapp/db can control.

> I'm hoping to utilize the majority fo the 50G's to provide the best
> performance for the user.

What are you doing with all that RAM? Huge caches?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1aqmQACgkQ9CaO5/Lv0PBPLACePXVAdLsJOu+WgxLNPbC5aVU2
13cAnRDMI6w4wwcBYA1Gto0GRGY4m58e
=peNL
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 6 Memory Heap Limit

Posted by "Johnson, Rob E" <Ro...@onrr.gov>.
Thanks,

That was my next question, should I switch to Linux.

This server is used only as web application server.  I want to give the end users, people logging into the web based app, the best performance.  Currently the system gets very slow with more than 10 users on at a time.

I'm hoping to utilize the majority fo the 50G's to provide the best performance for the user.


Rob Johnson MBA/IT
IT Specialist
ONRR
303-231-3963
303-589-9278 (Cell)


-----Original Message-----
From: Leon Rosenberg [mailto:rosenberg.leon@gmail.com] 
Sent: Tuesday, February 15, 2011 9:10 AM
To: Tomcat Users List
Subject: Re: Tomcat 6 Memory Heap Limit

That depends...
On linux I was able to assign a single process >30Gb, never tried more.
I think your OS is your single limit.

regards
Leon

On Tue, Feb 15, 2011 at 5:03 PM, Johnson, Rob E <Ro...@onrr.gov> wrote:
> If I move to the 64 bit how high can I push the size?
>
>
>
>
> Rob Johnson MBA/IT
> IT Specialist
> ONRR
> 303-231-3963
> 303-589-9278 (Cell)
>
>
> -----Original Message-----
> From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
> Sent: Tuesday, February 15, 2011 9:01 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 6 Memory Heap Limit
>
>> From: Johnson, Rob E [mailto:Rob.Johnson@onrr.gov]
>> Subject: RE: Tomcat 6 Memory Heap Limit
>
>> It is a stand alone 32 bit server
>
> Then you're stuck.  To get large heap sizes, you'll need a 64-bit OS 
> and a 64-bit JVM.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE 
> PROPRIETARY MATERIAL and is thus for use only by the intended 
> recipient. If you received this in error, please contact the sender 
> and delete the e-mail and its attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 6 Memory Heap Limit

Posted by Leon Rosenberg <ro...@gmail.com>.
That depends...
On linux I was able to assign a single process >30Gb, never tried more.
I think your OS is your single limit.

regards
Leon

On Tue, Feb 15, 2011 at 5:03 PM, Johnson, Rob E <Ro...@onrr.gov> wrote:
> If I move to the 64 bit how high can I push the size?
>
>
>
>
> Rob Johnson MBA/IT
> IT Specialist
> ONRR
> 303-231-3963
> 303-589-9278 (Cell)
>
>
> -----Original Message-----
> From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
> Sent: Tuesday, February 15, 2011 9:01 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 6 Memory Heap Limit
>
>> From: Johnson, Rob E [mailto:Rob.Johnson@onrr.gov]
>> Subject: RE: Tomcat 6 Memory Heap Limit
>
>> It is a stand alone 32 bit server
>
> Then you're stuck.  To get large heap sizes, you'll need a 64-bit OS and
> a 64-bit JVM.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 6 Memory Heap Limit

Posted by David kerber <dc...@verizon.net>.
On 2/15/2011 11:03 AM, Johnson, Rob E wrote:
> If I move to the 64 bit how high can I push the size?

Higher than you can count (actually, whatever the OS and hardware will 
support).  Microsoft's list:

http://msdn.microsoft.com/en-us/library/aa366778%28v=vs.85%29.aspx



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 6 Memory Heap Limit

Posted by "Johnson, Rob E" <Ro...@onrr.gov>.
If I move to the 64 bit how high can I push the size?

 


Rob Johnson MBA/IT
IT Specialist
ONRR
303-231-3963
303-589-9278 (Cell)


-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Tuesday, February 15, 2011 9:01 AM
To: Tomcat Users List
Subject: RE: Tomcat 6 Memory Heap Limit

> From: Johnson, Rob E [mailto:Rob.Johnson@onrr.gov]
> Subject: RE: Tomcat 6 Memory Heap Limit

> It is a stand alone 32 bit server

Then you're stuck.  To get large heap sizes, you'll need a 64-bit OS and
a 64-bit JVM.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 6 Memory Heap Limit

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Johnson, Rob E [mailto:Rob.Johnson@onrr.gov] 
> Subject: RE: Tomcat 6 Memory Heap Limit

> It is a stand alone 32 bit server

Then you're stuck.  To get large heap sizes, you'll need a 64-bit OS and a 64-bit JVM.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 6 Memory Heap Limit

Posted by "Johnson, Rob E" <Ro...@onrr.gov>.
It is a stand alone 32 bit server


Rob Johnson MBA/IT
IT Specialist
ONRR
303-231-3963
303-589-9278 (Cell)


-----Original Message-----
From: Leon Rosenberg [mailto:rosenberg.leon@gmail.com] 
Sent: Tuesday, February 15, 2011 8:55 AM
To: Tomcat Users List
Subject: Re: Tomcat 6 Memory Heap Limit

Windows Server 2003 <- is this a 32 bit OS?
And if not, are you using 64 bit java vm?

regards
Leon

On Tue, Feb 15, 2011 at 4:51 PM, Johnson, Rob E <Ro...@onrr.gov>
wrote:
>
> Hi,
> Apache Tomcat 6.0.20
> Windows Server 2003
> 50G RAM
> I'm running Apache Tomcat 6.0 as a service on a Windows 2003 Server 
> with 50G of RAM. I want to fully utilize the 50G of RAM (40G) but I 
> cannot get the Apache Service to start again if I go any higher than 
> the setting listed below:
> -Xms1024m -Xmx1024m
> -XX:MaxPermSize=256M
> -XX:PermSize=512
> I initially used the Tomcat Configuration Manager to attempt to adjust

> these setting. I also tried setting them in the registry, 
> HKLM/software/ApacheSoftwareFoundation/Procrun2.0/Tomcat6/Parameters/J
> av e (jvms and jvmx). I also tried adding creating an Environmental 
> Variable; JAVA_OPTS -Xms1024m -Xmx1024m.
> Thanks,
> Rob
>
> Rob Johnson MBA/IT
> IT Specialist
> ONRR
> 303-231-3963
> 303-589-9278 (Cell)
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 6 Memory Heap Limit

Posted by Leon Rosenberg <ro...@gmail.com>.
Windows Server 2003 <- is this a 32 bit OS?
And if not, are you using 64 bit java vm?

regards
Leon

On Tue, Feb 15, 2011 at 4:51 PM, Johnson, Rob E <Ro...@onrr.gov> wrote:
>
> Hi,
> Apache Tomcat 6.0.20
> Windows Server 2003
> 50G RAM
> I'm running Apache Tomcat 6.0 as a service on a Windows 2003 Server with
> 50G of RAM. I want to fully utilize the 50G of RAM (40G) but I cannot
> get the Apache Service to start again if I go any higher than the
> setting listed below:
> -Xms1024m -Xmx1024m
> -XX:MaxPermSize=256M
> -XX:PermSize=512
> I initially used the Tomcat Configuration Manager to attempt to adjust
> these setting. I also tried setting them in the registry,
> HKLM/software/ApacheSoftwareFoundation/Procrun2.0/Tomcat6/Parameters/Jav
> e (jvms and jvmx). I also tried adding creating an Environmental
> Variable; JAVA_OPTS -Xms1024m -Xmx1024m.
> Thanks,
> Rob
>
> Rob Johnson MBA/IT
> IT Specialist
> ONRR
> 303-231-3963
> 303-589-9278 (Cell)
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org