[Mono-list] GC not being called.

Miguel de Icaza miguel@ximian.com
Tue, 16 Mar 2004 14:25:31 -0500


> recently I upgraded my RPMs of Mono to the newest
> version 0.30.2. Unfortunatelly I believe there is a
> bug in the runtime, because the small program attached
> to this message don't appear to be calling its method
> Finalize() even under heavy memory preasure.
> After receiving some kind help from Cesar (who
> verified that Finalize() was actually being called
> when Microsoft's framework was used instead of Mono) I
> filled bug 55644.
> Please check if this is actually a bug. If this
> happens to be true I think a new RPM should be built

With CVS, the GC is kicking-in, and things are getting released (I am
allocating a larger object than you are, and also renamed `Finalizer' to
use the destructor syntax, you should not try to guess what the compiler

The memory use stays reasonably bound, but the finalizer is in fact not
being called.