On Sat, 10 Mar 2001, Erik Blankinship wrote:
> hello. i think my ? is pretty easy.
> i want to give my servlet some more memory.
>
> <"Tomcat - A Minimalistic User's Guide">
> Nevertheless, in loaded sites, giving more memory to the JVM improves
> Tomcat's performance. You should use command line parameters such as
> -Xms/-Xmx/-ms/-mx to set the minimum/maximum size of the Java heap (and
> check to see if the performance was improved).
> <"Tomcat"/>
>
> where in tomcat do i put the -Xmx command line parameter? somewhere
> in my conf? or in my webapp's WEB-INF? thanks.
Those command line parameters need to be placed in the call to java,
which is done in tomcat.sh. So you could edit that file directly and
add them there. Alternatively, it looks like that script reads the
environment variable TOMCAT_OPTS and adds that to the call to java.
(I'm talking UNIX here, I'm not sure about how it works on Windows --
although it does look like it uses the TOMCAT_OPTS environment
variable in tomcat.bat.)
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]