tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RuiXian BAO" <ruixian....@gmail.com>
Subject Re: tomcat.conf JAVA_OPTS
Date Wed, 05 Dec 2007 22:47:08 GMT
Hello,

On 12/5/07, Rainer Jung <rainer.jung@kippdata.de> wrote:
>
> Caldarale, Charles R wrote:
> >> From: Rainer Jung [mailto:rainer.jung@kippdata.de]
> >> Subject: Re: tomcat.conf JAVA_OPTS
> >>
> > 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.
>
> Me to :)


This has  amused me for a long time. If so, why the -Xms and -Xmx were
invented in the first place? Or to make things simpler why not using a
single memory variable just in this situation? Just to cause more confusion
to have two values like current arrangement?:)

Best

- RuiXian


>>> 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.
> >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message