RE: Java Heap size setting - Tomcat 6.0.24

2010-02-11 Thread Caldarale, Charles R
> From: Mehrotra, Anurag [mailto:amehro...@telebright.com] > Subject: Java Heap size setting - Tomcat 6.0.24 > > Where do I specify the java heap size for this second instance? Use the tomcat6w.exe program in that instance's bin directory. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL A

Re: Java heap size limit

2010-02-11 Thread Peter Crowther
On 11 February 2010 15:29, Caldarale, Charles R wrote: >> From: Peter Crowther >> 3) Most insidiously, if the system's loaded or allocated something >> that it can't move in the middle of your process' address space, it >> may be unable to move that. > > Doesn't happen.  The JVM reserves the maxim

RE: Java heap size limit

2010-02-11 Thread Caldarale, Charles R
> From: peter.crowth...@googlemail.com > [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther > Subject: Re: Java heap size limit > > 1) CPU time to expand the heap - during which your application may be > unresponsive, I'm not sure how the modern JVMs work.

Re: Java heap size limit

2010-02-11 Thread Peter Crowther
On 11 February 2010 14:56, Jeffrey Janner wrote: > Also, as I've heard several times here, set the -Xms and -Xmx settings to the > same to improve garbage collect efficiency. (did I interpret that correctly?) Allocation efficiency - and to make sure you actually get the memory when you need it!

RE: Java heap size limit

2010-02-11 Thread Jeffrey Janner
>From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] >Sent: Thursday, February 11, 2010 7:37 AM > >> From: Hadole, Nishant IN BOM SISL [mailto:nishant.had...@siemens.com] >> Subject: RE: Java heap size limit >> >> For 32 bit system, maximum memory po

Re: Java heap size limit

2010-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yoav, On 2/11/2010 9:44 AM, Yoav Lanenter wrote: > Thanks Chris > > For now I can't change my machine to 32bit > Will I be able increase to 2G of java on 32 bit machine ? If you are running *NIX, you might be able to squeeze-out another couple of Mi

RE: Java heap size limit

2010-02-11 Thread Caldarale, Charles R
> From: Yoav Lanenter [mailto:yo...@consist.co.il] > Subject: RE: Java heap size limit > > Will I be able increase to 2G of java on 32 bit machine ? As we said before, no - unless you're running with the Windows boot option that specifies use of a 3 GB user process space

RE: Java heap size limit

2010-02-11 Thread Yoav Lanenter
t: Re: Java heap size limit -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yoav, On 2/11/2010 1:18 AM, Yoav Lanenter wrote: > tomcat 5.5,Win Server 2003,32 bit,32 GB RAM > > my question is how can i increase the Java heap size to the maximum > (maximum memory pool) using the

Re: Java heap size limit

2010-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yoav, On 2/11/2010 1:18 AM, Yoav Lanenter wrote: > tomcat 5.5,Win Server 2003,32 bit,32 GB RAM > > my question is how can i increase the Java heap size to the maximum > (maximum memory pool) using the apropicate script\configuration All the other an

RE: Java heap size limit

2010-02-11 Thread Caldarale, Charles R
> From: Hadole, Nishant IN BOM SISL [mailto:nishant.had...@siemens.com] > Subject: RE: Java heap size limit > > For 32 bit system, maximum memory pool can easily increased upto 2 GB. Not likely. The most you can set the heap to on 32-bit Windows is around 1.5 GB; the actual va

RE: Java heap size limit

2010-02-10 Thread Hadole, Nishant IN BOM SISL
uary, 2010 11:57 AM To: 'Tomcat Users List' Cc: 'yo...@consist.co.il' Subject: RE: Java heap size limit For 32 bit system, maximum memory pool can easily increased upto 2 GB. 1. If using batch start-up file Add set CATALINA_OPTS=-Xms64M -Xmx128M in catlina.bat 2. If running a

RE: Java heap size limit

2010-02-10 Thread Hadole, Nishant IN BOM SISL
For 32 bit system, maximum memory pool can easily increased upto 2 GB. 1. If using batch start-up file Add set CATALINA_OPTS=-Xms64M -Xmx128M in catlina.bat 2. If running as windows service, Using tomcat monitor --> java --> initial & maximum memory pool With best regards, Nishant Hadole Siemen

RE: java heap size

2006-09-26 Thread Caldarale, Charles R
> From: John [mailto:[EMAIL PROTECTED] > Subject: RE: java heap size > > Your figures are indeed how it used to be pre-1.5 I've just dug through the 1.5 code and found that the use of 1/4 of the total physical memory is dependant on several other factors, such as the catego

RE: java heap size

2006-09-26 Thread John
Subject: RE: java heap size > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Subject: RE: java heap size > > The default is 64m for 32-bit environments, 128m for 64-bit. Sorry, the 64-bit Sun JVM default is really 83m, not 128m. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDE

RE: java heap size

2006-09-26 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Subject: RE: java heap size > > The default is 64m for 32-bit environments, 128m for 64-bit. Sorry, the 64-bit Sun JVM default is really 83m, not 128m. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

RE: java heap size

2006-09-26 Thread Caldarale, Charles R
> 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

RE: java heap size

2006-09-26 Thread John
By default Java 1.5 defines the maximum heap size to physical system memory divided by 4. You can change this on the java command line by using: java -xmx512m Sets maximum heap size (the largest the heap can grow to - where objects reside), to 512 meg. John -Original Message- From: an

RE: java heap size

2006-09-26 Thread Caldarale, Charles R
> From: antarix [mailto:[EMAIL PROTECTED] > Subject: java heap size > > I´ve searching for a solution (change parameters, etc), > but at the moment I can´t find a "how to" or something > like that give me first why or what produce this error > or a clear answer. Tried looking at the FAQ? http: