phosek added a comment.

In D96033#2766372 <https://reviews.llvm.org/D96033#2766372>, @v.g.vassilev 
wrote:

> In D96033#2766332 <https://reviews.llvm.org/D96033#2766332>, @phosek wrote:
>
>> We've started seeing `LLVM ERROR: out of memory` on our 2-stage LTO Linux 
>> builders after this change landed. It looks like linking `clang-repl` always 
>> fails on our bot, but I've also seen OOM when linking `ClangCodeGenTests` 
>> and `FrontendTests`. Do you have any idea why this could be happening? We'd 
>> appreciate any help since our bots have been broken for several days now.
>
> Ouch. Are the bot logs public? If not maybe a stacktrace could be useful. 
> `clang-repl` combines a lot of libraries across llvm and clang that usually 
> are compiled separately. For instance we put in memory most of the clang 
> frontend, the backend and the JIT. Could it be we are hitting some real limit?

Yes, they are, see 
https://luci-milo.appspot.com/p/fuchsia/builders/prod/clang-linux-x64, but 
there isn't much information in there unfortunately. It's possible that we're 
hitting some limit, but these bots use 32-core instances with 128GB RAM which 
I'd hope is enough even for the LTO build.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96033/new/

https://reviews.llvm.org/D96033

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to