GC options. Reply

Simon Marlow simonmar@microsoft.com
Thu, 9 Aug 2001 10:37:31 +0100

> Hello!
> On Tue, Aug 07, 2001 at 10:47:50AM +0100, Simon Marlow wrote:
> >   - Compacting garbage collection is enabled when the residency
> >     reaches a certain percentage of the maximum heap size (if there
> >     is one).
> Could there be the possibility to set an absolute amount of memory
> to start compacting, at least for the case of no maximum heap size?

Yes, there could be, but I don't want the GC tunables to get any more
complicated than they already are.  In this case you could just set the
maximum heap size to the size of your memory+swap and then set the
compaction threshold so that compaction would kick in at the desired