Clangd consuming a lot of memory once i clicked/hover to definition of function #2601
Unanswered
learneachday
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Do you mean the size of How many entries does it contain? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am running clangd for my project with remote-index server configured, it is seen that compile-commands.json which is present in project root itself consumed around 1.4GB . The problem here is that when i hover or do Go to definition then memory spikes and keep on increasing it rises to around 32GB . Is this a known problem that memory can rise to such level what can be the workaround for the same. Please suggest. I am using clangd V21 .
Thanks
Beta Was this translation helpful? Give feedback.
All reactions