Skip to content

Two instances of HLS started #480

Open
@cptwunderlich

Description

@cptwunderlich

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

Task Monitor Screenshot

There is a comment in my bug report 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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: need reprotype: bugA bug or unintended effecttype: setupIssues related with the extension setup, including binaries downloads

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions