Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocaml-lsp's memory consumption #1234

Open
clecat opened this issue Mar 8, 2024 · 2 comments
Open

ocaml-lsp's memory consumption #1234

clecat opened this issue Mar 8, 2024 · 2 comments

Comments

@clecat
Copy link

clecat commented Mar 8, 2024

I am using ocamllsp alongside visual studio code via it's extension Ocaml Platform on a computer with 16G of memory.

It is usually going great, however, when working on the large database of the irmin project, the memory consumption of the ocaml-lsp processes go up very fast as I am coding/checking files/etc, reaching sometimes 90%+, at which point everything crashes and goes back to 0%.

My guess is that there might be a memory leak, as the memory usage builds up overtime, mostly when checking the test directory.

@voodoos
Copy link
Collaborator

voodoos commented Apr 3, 2024

Thanks for the report @clecat.
By any chance, do you have some precise edits examples that trigger large memory allocation ?

@clecat
Copy link
Author

clecat commented Apr 4, 2024

Precise, no, but usually, walking through the files will do the trick, particularly in the test folder, were I happen to very often go back and forth between my tests and the source code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants