My guess would be that you're probably still referencing some object within
the session object from outside.
try setting all objects WITHIN the session object to null on logout , rather
than setting the session object itself to null.

regards
Pramod Nair

----- Original Message -----
From: "David Vásquez Estrada" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 27, 2001 10:18 PM
Subject: How to free memory used by the session


> Hi all,
>
> I am storing some big trees and variables into session variables, which
> are removed when the user press a link called "logout". When logout
> occurs internally all session variables are removed to free the used
> memory, but the memory is not actually freed, if I login again the
> memory is still increasing.
>
> How to actually free the memory used by the session variables?
>
> I've tried to get the session variable, set it to null, and the remove
> the session variable, and also explicitly call the garbage collector,
> but the problem persist.
>
> Please give me some advises to deal with it. I'm using Apache+Tomcat.
>
> Thanks in advance,
>
> David.
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to