haskell / haskell/haskell-language-server
High memory usage even on simple completion
- Dominant language
- Haskell
- Stars
- 3k
- Forks
- 455
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 11
Description
Hello. I am using Arch Linux with Neovim and nvim-lspconfig. I came across some issues with the language server. When I edit a simple haskell file, the memory usage of the language server just went up to 1.3G.
I mean, is this normal? Please look forward to fix this. I have just 3G of ram and sometimes the server just uses so much memory that it causes a OOM and the system just freezes. Sometimes I have to hard reboot my pc :(.
Steps to reproduce
```
-- I just typed this in a file
import Data.List
main :: IO()
main = undefined
```
When providing some basic completions the server used up 1.3G of memory
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.