tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Witucki" <>
Subject RE: out of memory problem. Help!
Date Mon, 19 Jan 2004 14:06:20 GMT
We fixed our session timeout to 15 minutes for 100 users and Tomcat hasn't crashed for 36 hours.
 Does anyone know how we can adjust for the possibilities of 1000's of users???

Christian Witucki
Network Analyst
375 Essjay Road
Williamsville, NY 14221
716-631-3001 x3812

CONFIDENTIALITY NOTICE. This e-mail and attachments, if any, may contain confidential information
which is privileged and protected from disclosure by Federal and State confidentiality laws,
rules or regulations.  This e-mail and attachments, if any, are intended for the designated
addressee only .  If you are not the designated addressee, you are hereby notified that any
disclosure, copying, or distribution of this e-mail and its attachments, if any, may be unlawful
and may subject you to legal consequences.  If you have received this e-mail and attachments
in error, please contact Independent Health immediately at (716) 631-3001 and delete the e-mail
and its attachments from your computer.  Thank you for your attention.

>>> 01/19/04 01:20AM >>>

Check session-timeout in web.xml.
-1 is never timeout

-----Original Message-----
From: Christophe Andreoli [] 
Sent: Friday, January 16, 2004 9:19 PM
To: Tomcat Users List
Subject: Re: out of memory problem. Help!

"Shapira, Yoav" wrote:
> Howdy,
> >root cause
> >
> >java.lang.OutOfMemoryError
> >
> >
> >It happens When the corresponding request returns more than
> >rows from the database, not every time

> Perhaps you should allocate your JVM more memory, by using the Java
> parameter. 

I did it and I gave 512 Mb.

It works better but why are the 2000 objects are not garbaged after each
request ?

 Alternatively, consider a system design that retrieves a
> smaller, fixed number of rows instead of "20000-30000" and lets the
> scroll, say 100 rows at a time.
> Yoav Shapira

To unsubscribe, e-mail: 
For additional commands, e-mail: 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message