qchateau added a comment.

If you look back at my original comment, you'll notice I originally trimmed the 
memory after `FileSymbols::buildIndex` which seemed to be the "end of the peak" 
memory usage, the goal was to counteract exactly what you describe: a huge 
memory usage when clangd warms-up and parses a lot of files in parallel.
I wonder if we can find a middle ground. The solution we finally adopted also 
has the advantage of being less intrusive, which is definitely great 
considering the nature of the issue


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93452

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

Reply via email to