tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: tomcat.conf JAVA_OPTS
Date Tue, 04 Dec 2007 18:57:12 GMT
> From: Rainer Jung [] 
> 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

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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message