pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pbulk out of memory - llvm



Hi There,

Do you know any fine tuning to avoid out of memory situation at bulkbuild?

My build stops here (devel/llvm):

[ 36%] Building CXX object lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o

cc1plus: out of memory allocating 6998400 bytes after a total of 7346080 bytes
*** Error code 1


I'd assume ~8GB of RAM + 8 GB of swap space should be enough.

NOTE: I've set these limits in pbulk.conf according to the pbulk documentation:
ulimit -t 1800 # set the limit on CPU time (in seconds)
ulimit -v 2097152 # limits process address space

Architecture:
NetBSD 9.3, amd64

Thank you in advance,

FeZ


Home | Main Index | Thread Index | Old Index