Re: Running out of RAM building devel/llvm13

From: Dimitry Andric <>
Date: Sat, 06 Nov 2021 23:38:20 UTC
On 6 Nov 2021, at 23:53, Stephen Montgomery-Smith <> wrote:
> Does anyone else have the problem of running out of RAM when building devel/llvm13?  I have 6 CPUS, 4G of RAM, and 4G of swap.
> I can solve it by building with MAKE_JOBS_UNSAFE=yes, but then the build is so slow.
> It seems that there is a small part of the build which requires a lot of RAM, and it would be nice to restrict just that portion of the build to just one CPU.

Try turning off the FLANG option. In my release testing for llvm 13.0.0 I found this eats up most of the memory during a build.