Skip to content

Difference between MLton and MPL block-sizes ? #112

@hai-nguyen-van

Description

@hai-nguyen-van

Hello! I've been trying to compile our solver (Heron) with MPL instead of MLton. Our goal is to switch to MPL in order to enjoy parallelism in the future.

No runtime-args. Most of our regression tests pass, but not tests that are memory-greedy. In such cases, our program is simply killed without any information.

With runtime-args. I tried to increase the block-size to 256M. Results are slightly better but now the output is

ERROR  [P00|gc/chunk.c:326]: Out of memory. Unable to allocate new chunk of size 268435456.
Aborted (core dumped)

Our solver still correctly executes with MLton. Do you think this problem is related to block-sizes ?

Known issues. Int.toString and Real.fromString are used but not in parallel so it should not be relevant. None of the unsupported MLton Features are used.

Thanks. Best,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions