RE: number of sessions and OutOfMemoryException

2004-12-03 Thread Shapira, Yoav
Hi, >I'm I getting it right: that once OOME occures I need more memory or >need to deside in my application how to remove sessions ? Once an OOME occurs, you're hosed. Decide now on a session timeout (this is usually requirements-driven by your users, but if not, just leave the default of 30 mi

RE: number of sessions and OutOfMemoryException

2004-12-02 Thread Allistair Crossley
system that is effectively supporting a memory leak. -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: Thu 02/12/2004 21:40 To: Tomcat Users List Cc: Subject: RE: number of sessions and OutOfMemoryException

RE: number of sessions and OutOfMemoryException

2004-12-02 Thread Mark
I'm I getting it right: that once OOME occures I need more memory or need to deside in my application how to remove sessions ? Thanks, Mark. --- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > > Hi, > > >If I set session-timeout to -1 in web.xml will I get eventualy > >OutOfMemoryException or Tomc

RE: number of sessions and OutOfMemoryException

2004-12-02 Thread Shapira, Yoav
Hi, >If I set session-timeout to -1 in web.xml will I get eventualy >OutOfMemoryException or Tomcat will remove the session and not die? You will get OOMEs. Session removal is your responsibility. (BTW note that OutOfMemory is an Error, not an Exception, with everything the former implies). >

number of sessions and OutOfMemoryException

2004-12-02 Thread Mark
Hi, Few questions: If I set session-timeout to -1 in web.xml will I get eventualy OutOfMemoryException or Tomcat will remove the session and not die? Is there any easy way to calculate how much memory will be used per session ( I know what objects will be stored) Thanks, Maek