[MLton] Segmentation fault in 32 bit mode on a 6 GB machine with ram-slop 0.85

Matthew Fluet fluet at tti-c.org
Sun Nov 9 13:43:45 PST 2008


On Sun, 9 Nov 2008, Wesley W. Terpstra wrote:
> On Sun, Nov 9, 2008 at 9:55 PM, Matthew Fluet <fluet at tti-c.org> wrote:
>> I think that the best solution is for sizeofHeapDesired to return a size
>> that will not overflow when aligned and will not overflow when combined with
>> the card/cross map size.  This can be handled using the architecture virtual
>> address space limit -- irrespective of any OS specific limits.
>
> You mean using ADDRESS_BITS? Seems reasonable.

I prefer the future proof SIZE_MAX, but anything along those lines would 
work.



More information about the MLton mailing list