Set the session timeout. When the timeout is reached (with no activity per say 30 minutes) it will kill it. Easiest and simplest solution.
-----Original Message----- From: Victor Hugo Germano [mailto:[EMAIL PROTECTED] Sent: Thursday, March 30, 2006 8:55 AM To: Tomcat Users List Subject: Re: Managing sessions - Object destruction The problems is, when do i have to kill the session?? Even when the browser is closed, the session continues at the memory... I think the gc is not working as i expect... ty anyway :) MW Janssen escreveu: > set the session timeout in web.xml or kill the session manually > > -----Oorspronkelijk bericht----- > Van: Victor Hugo Germano [mailto:[EMAIL PROTECTED] > Verzonden: donderdag 30 maart 2006 15:35 > Aan: users@tomcat.apache.org > Onderwerp: Managing sessions - Object destruction > > > Hello, > We are having some throuble working with reference objects in session, i > mean, every time i try to reload a context the session is not reloaded, and > all its contents are kept in memory reaching the full memory capacity very > fast. > > I am sorry my english. I'll try to explain it better: > > I have the object "fieldEstructure" in session, which has references to a > sort of other objects. When the user closes the browser the reference for > the session object is not finished, i mean, the hole session is not lost. > How can i reset the session?? > > > thanks for the atention > Victor > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.385 / Virus Database: 268.3.3/296 - Release Date: 29-3-2006 > > > --------------------------------------------------------------------- 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]