[MLton-devel] D2 problem

Stephen Weeks MLton@mlton.org
Tue, 23 Apr 2002 22:33:20 -0700


> Yuck.   Note,  breaking  things up will also make the GC slower.  

Only epsilonically, as far as I can see.  Especially with a reasonably
large chunk size of 10M-100M.

> Does Cygwin have mmap() mapping files?  If so you might try, as an
> experiment, getting memory that way and see if it puts it in some
> other part of the address space. Also you might try NOT using
> MAP_FIXED, but still having the first argument of mmap() (when
> asking for memory, not a file) being big, or non- zero and see if
> that lets you get more memory.

I don't use mmap on Cygwin.  I use the Windows VirtualAlloc/Free
functions.  There is some analogue of mmap for files, but I don't
think it matters, since we're getting all the contiguous memory that's
available.  The problem is that there is other stuff in the address
space.

_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel