Martin:

You need to modify the tomcat.sh script and enter values in the TOMCAT_OPTS
field.  Example of an entry...

tomcat_opts="-Xmx128m -Xms16m"  Solved all of my issues.  When invoked
correctly, you will see the new java params in the ps -ef output for tomcat.

I.E.  /usr/java/bin/../bin/sparc/native_threads/java -Xmx128m -Xms16m
-Dtomcat.home=/

Martin Mauri wrote:

> Dear Aleksey,
>
> I've just read the documents you suggested, but as I've never used that
> command, I'm afraid I didn't quite understand what and how to increase the
> memory heap, any example?
>
> thanks!
>
> Martin
>
> > Dear Martin,
> >
> > Yes.  Please see "Tomcat - A Minimalistic User's Guide" at
> >
> http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug.htm
> > l, the "Modify the Default JVM Settings" section.
> >
> > Yours,
> > Aleksey
> >
> > > -----Original Message-----
> > > From: Martin Mauri [SMTP:[EMAIL PROTECTED]]
> > > Sent: Monday, March 19, 2001 9:47 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: "Out Of Memory" error
> > >
> > > Hi users!
> > >
> > > I'm trying to retrieve a set of rows from a Postgres database v7.0.3
> with
> > > its JDBC driver, but after some minutes I get the "Out Of Memory" error.
> > > First I thought it could be a database problem, but when I execute the
> > > query manually, it works fine. So I think that the problem is the JVM in
> > > which the JDBC driver is running, is there anyway to give it more
> memory?
> > >
> > > thanks!
> > >
> > > Lic. Martin O. Mauri
> > > Profesion + Auge A.F.J.P
> > > Parana 666 - Cap. Federal
> > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > > www.profesi.com.ar <http://www.profesi.com.ar>
begin:vcard 
n:Keller;Scott
tel;cell:678-296-3767
tel;fax:404-287-8549
tel;work:404-287-8400
x-mozilla-html:FALSE
version:2.1
adr;quoted-printable:;;950 East Paces Ferry Road=0D=0ASuite 2125;Atlanta;Georgia;30326;
fn:Scott Keller
end:vcard

Reply via email to