easiest way to make sure they are GC'd is to set session time-outs.

-----Original Message-----
From: John Powers [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 6:07 PM
To: Tomcat Users List
Subject: session GC


How do you know when a session is garbage collected?
You can write a sessionlistener for when it gets deleted out of tomcat,
but after that, when do you know if its garbage collected?

I currently do not think my sessions are being collected.   Within a day
500M of memory get eaten up and I can't collect them manually even.  So
I want to know when/if the sessions are being collected.

If I wrote a subclass to httpsession, how could get tomcat to use it?


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




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

Reply via email to