Skip to content

Running the lsp causes my editor to rapidly consume all available memory #956

Closed
@redsuperbat

Description

@redsuperbat

Hi!
Thanks for working on the typescript go project. I'm having an issue with the LSP. When i start it together with Neovim it causes Neovim to freeze and rapidly consume all memory available and crash.

I have tried installing via npm and building tsgo from source, both causes the same behaviour.

Before the preview was released I was able to build tsgo from source and run tsgo with neovim without problems so I'm guessing it's a recent change.

Below is a screenshot of neovim running with the tsgo lsp. The top process is the nvim process which spawned tsgo.
Image

I'm starting the lsp with this command:

tsgo --lsp --stdio

Any help to resolve this would be greatly appreciated! If you need any more information from me please reach out!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions