Unable to install MLton
Henry Cejtin
henry@sourcelight.com
Wed, 6 Sep 2000 16:03:16 -0500
Your machine has 64 meg of memory (or at least that is what Linux sees),
which should be fine. You don't have any swap space at all, so if you run
lots of things that could cause problems. If you re-install Slackware you
should probably add a swap partition, but you can also just add a swap file
if you wish. If you don't know how to do that, I can send you detailed
instructions.
Looking at the strace output, this is the cause for the problem. MLton
started out and allocated 27 meg for one half-space of its world. Then it
allocated another 27 meg for the second half-space of its world. After a
while it did a garbage collect, then realized that it should get a bit more
memory, so it de-allocated one of the 27 meg chunks and tried to allocate a
second 28 meg chunk. This second allocation failed, even though it would
have been a total of about 56 meg.
Mind you, a bit more memory certainly wouldn't hurt.