Thanks, That was a great help ! On Mon, Feb 15, 2010 at 4:00 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote:
> > From: Amir Hadadi [mailto:ami...@correlix.com] > > Subject: Xmx definition > > > > I'm running apache tomcat version 5.5.23. my OS is CENTOS 5. > > Not relevant; what is relevant is the JVM version, which you didn't > mention. > > > I've used Runtime.getRuntime().getMaxMemory() to get an approximation > > of my Xmx. The figure I got was 842MB. > > > I wonder were this number came from. > > To quote from the Sun JVM 6 initialization code: > > // If the maximum heap size has not been set with -Xmx, > // then set it as fraction of the size of physical memory, > // respecting the maximum and minimum sizes of the heap. > > - 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-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >