> From: Rainer Jung [mailto:[EMAIL PROTECTED] 
> Subject: Re: tomcat.conf JAVA_OPTS
> 
> c. wrote:
> > I'm wondering what the JAVA_OPTS -Xminf0.1 and
> > -Xmaxf0.3 are.  Anyone know?
> 
> MinHeapFreeRatio and MaxHeapFreeRatio (divided by 100).

I'd recommend not setting these unless you really know what's going on
inside your heap.  It's usually more beneficial to set -Xms to the same
value as -Xmx.

> > Also, is there a way to start tomcat and have it
> > spit out what JAVA_OPTS it's using?

Some of the options are processed by the launcher, some by the JVM
proper, so there's not any really good way to see them all.  You can set
the environment variable _JAVA_LAUNCHER_DEBUG, and it will provide some
information about what the launcher is doing and what it's passing on to
the JVM.

Lambda Probe will let you look at System properties, some of which are
derived from the command line arguments.  (You can also find them in
JConsole, but it's ugly.)  JConsole will also show the arguments the JVM
sees under java.lang -> Runtime -> Attributes -> Input Arguments on the
MBeans tab.

 - 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