Quantcast
Channel: OCaml - Topics tagged dune
Viewing all articles
Browse latest Browse all 535

Dune memory consumption with multiple jobs

$
0
0

Hi everyone,

I’m trying to build the OCaml portion of the project at https://github.com/hacspec/hax, to be found here. But unless I force dune to run with a single job my laptop will inevitably run out of its 16GBs of memory. I could probably live with really long build times, but it applies to the editor tooling as well, making it unusably slow or resulting in processes being killed when memory runs out. (I’ve tried tuareg for Emacs and the OCaml-platform extension for VSCode.)

I’m using dune 3.11.1 and OCaml 4.14.1 on x86 Linux. My main question is if there is something I could try besides limiting the number of jobs to one wherever I can?
I have not heard about the same experience from other users working on the project using macOS, so maybe this could be a platform specific thing?

Thanks!
Jonas

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 535

Trending Articles