> From: Indu Devanath [mailto:[EMAIL PROTECTED] 
> Subject: Increasing Max Memory in Tomcat resulting in failed 
> startup of Tomcat
>  
> if I am understanding Chuck's reply (from entry below) 
> there should be a 2GB limit not a 1GB limit correct?

There's a 2GB virtual space limit for the entire process, not just the
Java heap.  That 2GB has to include the C heap, stacks, DLLs, launcher
code, JIT-generated code from .class files, etc.  Since Windows does a
superb job of fragmenting the 2GB and the entire Java heap has to fit in
one contiguous chunk of virtual space, it's not surprising at all that
-Xmx1500m worked, and -Xmx1600m didn't.  Adding more real memory has no
effect on the virtual space available to the process.  If you want a
bigger heap, a 64-bit OS and JVM should be in your future.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to