You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Brian Wolf <br...@knowledgextensions.com> on 2002/08/01 03:45:31 UTC

memory management

Can anyone tell me how to increase the amount of memory available to a 
servlet running in tomcat?

Thanks in advance!
Brian



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: memory management

Posted by Michael Locasto <lo...@cs.columbia.edu>.
Brian,

Depending on your version of Tomcat, you open catalina.bat (or .sh) or
tomcat.bat (or .sh) and edit the environment varible JAVA_OPTS, adding the
string of '-Xblahblabhlbha...' params. There is also CATALINA_OPTS, where
I guess you can add the same.

Regards,
Michael

----- Original Message -----
From: "Brian Wolf" <br...@knowledgextensions.com>
To: "Michael E. Locasto" <lo...@cs.columbia.edu>; "Tomcat Users List"
<to...@jakarta.apache.org>
Sent: Friday, August 02, 2002 4:30 PM
Subject: Re: memory management


> Thanks Michel,
>
> But how do I get tomcat to invoke these options? I don't see it in the
> configuration files.
> \Brian
> > Brian,
> >
> > % path/to/your/jdk/bin/java -X
> >
> > will print out the help for non-standard command line argument
extensions
> > for the JVM.
> >
> > You can increase the amount of heap space and other good stuff
available
> to
> > the whole JVM.
> >
> > AFAIK, Tomcat sets no limit on the amount of memory a servlet
consumes.
> >
> > Regards,
> > Michael
> >
> > ----- Original Message -----
> > From: "Brian Wolf" <br...@knowledgextensions.com>
> > To: <to...@jakarta.apache.org>
> > Sent: Wednesday, July 31, 2002 9:45 PM
> > Subject: memory management
> >
> >
> > > Can anyone tell me how to increase the amount of memory available to
a
> > > servlet running in tomcat?
> > >
> > > Thanks in advance!
> > > Brian
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: memory management

Posted by Brian Wolf <br...@knowledgextensions.com>.
Thanks Michel,

But how do I get tomcat to invoke these options? I don't see it in the
configuration files.
\Brian
> Brian,
>
> % path/to/your/jdk/bin/java -X
>
> will print out the help for non-standard command line argument extensions
> for the JVM.
>
> You can increase the amount of heap space and other good stuff available
to
> the whole JVM.
>
> AFAIK, Tomcat sets no limit on the amount of memory a servlet consumes.
>
> Regards,
> Michael
>
> ----- Original Message -----
> From: "Brian Wolf" <br...@knowledgextensions.com>
> To: <to...@jakarta.apache.org>
> Sent: Wednesday, July 31, 2002 9:45 PM
> Subject: memory management
>
>
> > Can anyone tell me how to increase the amount of memory available to a
> > servlet running in tomcat?
> >
> > Thanks in advance!
> > Brian
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: memory management

Posted by "Michael E. Locasto" <lo...@cs.columbia.edu>.
Brian,

% path/to/your/jdk/bin/java -X

will print out the help for non-standard command line argument extensions
for the JVM.

You can increase the amount of heap space and other good stuff available to
the whole JVM.

AFAIK, Tomcat sets no limit on the amount of memory a servlet consumes.

Regards,
Michael

----- Original Message -----
From: "Brian Wolf" <br...@knowledgextensions.com>
To: <to...@jakarta.apache.org>
Sent: Wednesday, July 31, 2002 9:45 PM
Subject: memory management


> Can anyone tell me how to increase the amount of memory available to a
> servlet running in tomcat?
>
> Thanks in advance!
> Brian
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>