Thanks for the tip,

there was indeed a factor three
between soft and hard limit for -d (data size)
bash-5.2 ~$ ulimit -d -S
1048576
bash-5.2 ~$ ulimit -d -H
33554432

Using your suggestion allowed me to set the soft limit to the hard limit
and this allowed at least to go past that first specific error!

Pierre

Le 18/05/2023 à 19:55, mirabilos a écrit :
Pierre Muller via cfarm-users dixit:

LLVM ERROR: out of memory

Is the fact that it is not possible to build clang on openbsd a known problem?

OpenBSD tends to have somewhat restrictive ulimits by default
to limit the amount of memory an “exploding” process can take.

For at least -d but maybe also -m and/or -v do…

ulimit -Sd $(ulimit -Hd)

… to set the softlimit to the hardlimit (allowed usage for
your user).

Building without debugging symbols is also a generic strategy with few RAM.

hf,
//mirabilos
_______________________________________________
cfarm-users mailing list
cfarm-users@lists.tetaneutral.net
https://lists.tetaneutral.net/listinfo/cfarm-users

Reply via email to