Re: "Out Of Memory" error

2001-03-19 Thread Scott T. Keller

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



Setting Java Parameters

2001-03-14 Thread Scott T. Keller

All:

I am getting java stack overflow messages during peak times and it kills
tomcat.  What are some good heavy java params I can use in the startup
script?

Desperate!

Thanks as always.


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



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Version checking and *.xml files.

2001-03-14 Thread Scott T. Keller

hi all:

Two things...I just did an upgrade from 3.1-->3.2.1 Aside from looking
at
dates, how can I check version and is there any downside from using my
3.1
server.xml and web.xml files?

Thanks a lot!


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



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]