sublimelsp / LSP-json

Schema validation/completions for your JSON and Sublime files
MIT License
75 stars 9 forks source link

LSP-json server unable to start correctly. Spawns a ton of processes, using 90% of ram. #168

Closed 7f0c closed 9 months ago

7f0c commented 11 months ago

I just figured out why my laptop's fans suddenly goes overdrive. It's because of this extension. I've had this happen many times from the past few week.

It spawns a ton of node.exe processes and it eats up 90% of my ram. I have to close and reopen sublime text to fix it. Happens almost every day and even multiple times a day. Not quite sure what triggers it.

Screenshot (568)

rwols commented 11 months ago

Are there any hints the sublime console? You can click on View > Show Console in the top menu bar to view the console.

7f0c commented 11 months ago

Are there any hints the sublime console? You can click on View > Show Console in the top menu bar to view the console.

I'll check the next time it happens.

rchl commented 11 months ago

This server starts once per ST window (AFAIR). Feels like somehow you trigger a situation where there is tons of windows with JSON files open.

Not sure if ST console would show anything useful in this case but you can also have a look at LSP Log Panel.

rchl commented 9 months ago

Closing due to no response.