[Mono-devel-list] Garbage Collection problem

Jörg Rosenkranz joergr at voelcker.com
Wed Oct 1 04:00:15 EDT 2003

> -----Original Message-----
> From: Gonzalo Paniagua Javier [mailto:gonzalo at ximian.com] 
> Sent: Wednesday, October 01, 2003 4:11 AM
> You can give negative numbers to sbrk.

So is this a Mono/GC bug not releasing unused memory of the
GC heap? 
I see another problem with non compacting GCs. Look at the 
following situation (# = used memory, _ = unused)


When the garbage collector moves used blocks to fill gaps 
(like MS.NET) that's easily to resolve:


The Mono GC can never release the unused memory to the OS
until all blocks after the unused region are collected by
the GC too.

I think this is a design problem of the GC used by Mono.


More information about the Mono-devel-list mailing list