sourcegraph / javascript-typescript-langserver

JavaScript and TypeScript code intelligence through the Language Server Protocol
https://sourcegraph.com
Apache License 2.0
793 stars 72 forks source link

High CPU Usage #447

Open jeangovil opened 6 years ago

jeangovil commented 6 years ago

Recently I installed this extension(on vscode). Then I noticed high cpu and memory usage. screenshot from 2018-04-14 19-31-03

yuezk commented 6 years ago

I think there is a memory leak issue. Below are my snapshots.

After the server started, it shows that the memory usage is 99.6M, and CPU usage is normal

image

And then I opened a javascript file in vim, which uses LanguageClient-neovim. The CPU usages increased to 130%, and memory usages reached to 1.85GB and it still increasing.

image

maxnordlund commented 5 years ago

This happened to me today, and makes it quite unusable at the moment. I hope it will be resolved sooner or later.