haskell / haskell/vscode-haskell

Two instances of HLS started

Offen
#480 20 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
status: need repro type: bug type: setup
Vorherrschende Sprache
TypeScript
Sterne
597
Forks
98
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

In some cases, vscode-haskell starts **two** instances of HLS (consuming lots of memory).

![Task Monitor Screenshot](https://user-images.githubusercontent.com/3914011/136359786-c376af0c-60e1-4136-bae3-d9e7833408b0.png)

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.