-
My ocaml-lsp 1.4.1 still hits 60% of my 8Gb RAM from time to time. I'm wondering which are the sane approaches to debug memory usage of lsp. For example, could it be possible to report current memory usage of data structures after receiving SIGUSR1 or something.... |
Beta Was this translation helpful? Give feedback.
Answered by
rgrinberg
May 2, 2021
Replies: 1 comment
-
Perhaps you could use the new profiler to see what is being retained? https://blog.janestreet.com/finding-memory-leaks-with-memtrace/ |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ulugbekna
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Perhaps you could use the new profiler to see what is being retained? https://blog.janestreet.com/finding-memory-leaks-with-memtrace/