The thing is that the garbage collector cleans up objects only when they go out of scope. Sometimes an object can stay in scope for quite a while holding its memory (especially if .net client stays logged in, logging out forces all object handles to be released). There's a good advice on how to avoid objects staying in scope for too long - always use the using statement.
__________________
Not registered yet? Register here!
Have comments, questions, suggestions or anything else regarding our web site? Don't hesitate, send them to me
|