> From: John [mailto:[EMAIL PROTECTED] 
> Subject: RE: java heap size
> 
> By default Java 1.5 defines the maximum heap size to physical 
> system memory divided by 4.

??? Not sure where you dug that one up, but it's certainly not true for
the Sun JVM.  The default is 64m for 32-bit environments, 128m for
64-bit.

> You can change this on the java command line by using:  java -xmx512m

That will get you an error, since command line parameters are case
sensitive - needs to be -Xmx512m (upper case X).

The HotSpot heap size specifications are more complex than just a simple
maximum.  Best to read up on it at the Sun web site, assuming that's the
JVM you're using.

 - 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