[Mono-list] garbage collector

Miguel de Icaza miguel@ximian.com
27 Feb 2003 12:29:41 -0500


Hello,

> I installed and compiled mono on linux and config tells
> me that it uses the boehm garbage collector.
> 
> When I run my program I also get plenty of warning from
> GC
> GC Warning: Repeated allocation of very large block
> (appr. size xxxx) (xxxx = some number).
> So it seems that some garbage collector is running.
> 
> What is however surprising to is that no memory ever
> seems to be garbage collected ...
> 
> Now I wonder ... is there anything I miss on doing
> (e.g. some parameter I need to pass to Mono) or is that
> that garbage collection really in yet fully  integrated
> or is it just bug? Maybe I need to call garbage
> collection all the time?
> 
> What is the status of garbage collection?

The garbage collector works, and has been fully integrated for a year
now ;-)

Maybe your program holds references to the data, and hence can not
release the memory.

Miguel