-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeremy,

Jeremy Matthews wrote:
> Using a Mac OS 10.4 system w/ Tomcat 5.5.23...
> 
> Exactly where (what line location) do you use in the catalina.sh file to 
> place memory arguments?
> (JAVA_OPTS="-Xmx12000m -Xms10000m")

catalina.sh is just a regular shell script, so you can set that value
anywhere before it gets used.

I recommend against directly modifying catalina.sh, since it comes with
the Tomcat distribution. Instead, I suggest that you use another script
to call catalina.sh. Maybe something like this:

#!/bin/sh
#
# This is Company X's Tomcat Startup Script
#
# It sets up Tomcat for our specific environment.

export JAVA_OPTS="-Xmx12000m -Xms10000m"

/path/to/tomcat/bin/catalina.sh

- -----

It seems kind of a silly script, but when you upgrade Tomcat to the next
version, you'll be glad that you don't have to remember to copy the
configuration from old_tomcat/bin/catalina.sh to new_tomcat/bin/catalina.sh.

Also, 12000 megabytes is a TON of memory. Are you really using that much?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGDUny9CaO5/Lv0PARAhh+AJsHqn8r0TEHxKiQIoObIEYWkSp+xwCfSeiw
Vn+OXTWlLbzinZrYZiKlsj0=
=zBYi
-----END PGP SIGNATURE-----

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