So many (10-12) clangd processes taking up ~35-45GB of memory #1236
Closed
vincentjgoh
started this conversation in
General
Replies: 1 comment 4 replies
-
I don't know what your Emacs/Eglot configuration is, but I'm guessingthe project configuration you have is considering 10-12 subprojects somehow, when it should consider just one. To be able to help you you must somehow comeup with a representative project that exhibits the same behaviour and share it here. Please read https://joaotavora.github.io/eglot/#Troubleshooting-Eglot for instructions on how to report this bug in a way I can address it. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've got eglot managing a couple really big projects. In fact, it's the same Unreal 5 project in two different perforce workspaces.
Is there any way to limit how many processes get spun up? Or the amount of memory I'm willing to devote to this? 42GB is enough that when I compile Unreal, the distribution tool has to limit the number of parallel processes it's able to make.
And perhaps relatedly (or perhaps not), sometimes when I try to jump to a symbol, everything stalls for so long, I actually kill all the clangd processes to unlock emacs again. (It's actually only one process that's doing the locking. If I just go through and kill the active clangd processes one by one, I'll eventually happen on it, but it's not worth hunting through them when there are 10 or 12.)
Beta Was this translation helpful? Give feedback.
All reactions