virtual memory exhausted: Cannot allocate memory

  • 编译llvm的时候出现了这个问题。
  • 原因是用了太多线程去编译,内存不够了。
    把 make -j 改成 make -j32

你可能感兴趣的:(工欲善其事必先利其器)