[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: GC param tuning
- From: Mike Pall <mikelu-0411@...>
- Date: Fri, 12 Nov 2004 18:28:51 +0100
Hi,
Adam D. Moss wrote:
> g->GCthreshold = (9*g->estimate)/8;
Eeeek. This breaks on 32 bit machines when more than 512 MB of memory
is in use. This is clearly too low.
In fact I think it currently breaks at >2 GB. I was intending to fix this
by dropping l_mem in favour of lu_mem and using unsigned compares. But
I'm not sure this will fix all overflows.
Bye,
Mike