#Can the language server be shared
1 messages · Page 1 of 1 (latest)
This is something we've thought about but have not yet added. In your case are you often opening multiple VSCode windows (or other IDE windows)? Is the concern CPU usage, memory usage, or something else?
I frequently open nvim instances, no real concern it takes 100mb of ram per server, more like it feels better ? If there is one server
Makes sense, should be doable at some point but there are some technical nuances to figure out.
I frequently open nvim instances, no real concern it takes 100mb of ram per server, more like it feels better ? If there is one server
100mb per server on neovim is actually not good
That seems like a bug
just one instance of neovim
each instance spawns 2 servers for some reason
let me check with vscode
same deal with vscode
I guess thats probably how its supposed to work
so its 300mb per server (2 binaries)
hmm got it - yeah that's kind of strange, do you still have the neovim buffers open?
no if I close nvim the 2 process exit, also opening a new instance of vscode shows the same thing ane the same memory usage
If the language server is just a proxy that fetch from the cloud I guess 300 mb is a lot , unless it written in python or something
it's written in go but unfortunately, these runtimes use memory for no great reason
we'll do an internal audit to understand more why memory usage is in the 100s of MB - do you have search turned on?
no