dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pnet-developers] [bug #16089] Garbage Collector does not call Final


From: Marc Haisenko
Subject: Re: [Pnet-developers] [bug #16089] Garbage Collector does not call Finalizers if using Forms
Date: Tue, 14 Mar 2006 14:39:26 +0100
User-agent: KMail/1.8.1

On Tuesday 14 March 2006 13:33, address@hidden wrote:
> No!
>
> The problem is, that using a Form, none of our objects are destroyed, such
> as Hashtables, ArrayLists ... Our app is getting bigger and bigger.
>
> If a Form is Closed (Disposed) the inner object should be Finalized at a
> time. Which does not. And should be Finalized even when calling
> GC.Collect().
>
> We here are running out of memory :(

Are you absolutely sure that you're not holding a reference to the form 
somewhere ? Because I really doubt that the GC knows anything about Forms, if 
you know what I mean.

Just closing a form doesn't mean it should release its inner objects, IIRC 
you're able to re-open it, aren't you ? This means you must close the form 
and set all references to the form to null so it can be collected.

> Cheers
>
> Heiko

C'ya,
        Marc

-- 
Marc Haisenko
http://darkdust.net
Today is Pungenday, the 73rd day of Chaos in the YOLD 3172

Attachment: pgp_kdPdRCptO.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]