haskell / haskell/vscode-haskell
Two instances of HLS started
- Dominant language
- TypeScript
- Stars
- 597
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
In some cases, vscode-haskell starts **two** instances of HLS (consuming lots of memory).

There is a [comment in my bug report ](https://github.com/haskell/haskell-language-server/issues/2237#issuecomment-936402265) on haskell-language-server which suggests, that this happens when opening a .hs file outside of the current project.
In this case, I did **not** do that - I was only working with files from my current project.
I will attach the (quite large) HLS log file, hoping it will be of help. In a quick search I could not the files corresponding with the launch of the instance though. (This should happen closer to the end of the log file - I opened the task monitor after noticing my Laptop struggling and then closed VS Code)
[hls-7.10.2021.log](https://github.com/haskell/vscode-haskell/files/7301272/hls-7.10.2021.log)
Edit:
OS is Ubuntu Linux 20.04.3 LTS
GHC version 8.10.4
VS Code 1.60.2
vscode-haskell 1.7.1
Working on GHC source
Contributor guide
Assessment
This issue has not been assessed yet.