[Mono-devel-list] GC doesn't work correctly when using destructors

Miguel de Icaza miguel at ximian.com
Sat Apr 24 12:09:50 EDT 2004


Hello,

> In the following program the garbage collecter doesn't collect anything 
> (and so doesn't call the destructor) before the program ends (at the end 
> of the program ~T() is called!). Because of this the program needs about 
> 150 MB RAM while executing. Without the destructor the GC works fine and 
> the program needs (allmost) no memory. By the way, calling the GC manually 
> changes nothing.

I believe we fixed this regressions shortly after 0.31 was released;  

Miguel



More information about the Mono-devel-list mailing list