compilation problem
Stephen Weeks
MLton@sourcelight.com
Tue, 17 Jul 2001 09:36:46 -0700
> mmap failed
This means that MLton was attempting to get more memory, and was unable to.
Recompiling MLton these days requires at least 400m of memory. Also, by
default, MLton limits itself to using 85% of the total RAM available on your
machine. In order to use more than this, you need to pass the max-heap runtime
argument. To do this when recompiling MLton, you can change the FLAGS line in
src/mlton/Makefile to something like the following.
FLAGS = @MLton max-heap 450m -- -v -o $(AOUT)
I know that 450m is enough to recompile MLton, but you can probably squeeze by
with close to 400m.