Hi Anoq. I wanted to let you know that the new release of MLton fixes the problem with the compiler trying to use too much heap space. Although it still tries to grab 85% of RAM. Please let us know if you still see the problem.