Check session-timeout in web.xml. -1 is never timeout <session-timeout>-1</session-timeout>
-----Original Message----- From: Christophe Andreoli [mailto:[EMAIL PROTECTED] 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 20000-30000 > >rows from the database, not every time > Perhaps you should allocate your JVM more memory, by using the Java -Xmx > 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 user > scroll, say 100 rows at a time. > > Yoav Shapira > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
