max memory allocation

Sean Chittenden sean@chittenden.org
Thu, 8 Apr 2004 19:19:08 -0700


> Crap.
>
> At least Linux and OSX got ~2GB.
>
> But that's with malloc.  We should do another test with mmap.

FreeBSD's malloc(3) recycles its memory address space if it can.  Don't 
free(3) the memory region and try again... if you have enough 
swap/memory.  I didn't read your bulldozer summary completely so take 
my suggestion with a grain of salt.

Have you considered using boehm?  Last I checked it was reasonably 
smart about preventing/handling fragmentation.

-sc

-- 
Sean Chittenden