by linkdd on 2/22/25, 12:49 AM with 26 comments
But since the last few weeks, I noticed a change of behavior. The VS Code Remote Server in the WSL starts to eat all the memory. I used to limit my WSL to 4GB of memory, I increased it to 8GB, and it still fills it up, and the swap, causing a huge disk load, making the whole computer extra slow, and the VS Code window becomes unresponsive. Often I either have to kill VS Code, sometimes the WSL itself.
It's so bad it became unusable. And honestly, 8GB for an editor? This is a joke.
I tried neovim, but the days when I enjoyed a vim-based setup are long gone, and honestly the integration with LSP servers is poor at best.
AFAIK, Sublime Text has no WSL integration.
Do you have any recommendations?
by armchairhacker on 2/22/25, 3:45 AM
The main downside of IntelliJ is that it can be memory-intensive and slow, although perhaps not as much as your VSCode. Anecdotally, performance has been fine for me on an M1 Macbook Air, and 4GB more than enough memory, but my projects are probably smaller than yours.
Another option is Zed (https://zed.dev/). Being very new, I doubt it has all of VSCode's features. But it does allegedly work with 100+ languages, and it definitely has jump to definition and view signature (https://zed.dev/features#navigation). Zed should be particularly fast and efficient, and being new will probably gain missing features faster than the others.
by gregjor on 2/22/25, 1:06 AM
I also stopped using VSCode because of the bloat, which seems mainly caused by node + npm on the remote server. And I've seen it consume all the RAM and too much CPU for an editor.
I know you already rejected Neovim as too much a step back. I went back to plain vim with ripgrep and ctags, ssh/mosh with tmux, my long-time setup, and I'm good with that. No LSP but I can live without that, vim Omni-complete usually good enough.
by marshughes on 2/22/25, 1:24 AM
by dualogy on 2/22/25, 9:11 AM
Minimalist fast native (not browser-based) code editor for Windows, Mac, Linux, BSD. Both a terminal TUI and a native-GUI version for each. First-class (ie. by same author) LSP package. Fully Lua-scriptable for needs beyond LSP. Succinct C & Lua code-base. FOSS, and matured & maintained ever since 2007. All the basic table stakes (syntax coloring, multi-select-and-edit etc).
Woulda skipped on Sublime back when, had I known about it then.
by sky2224 on 2/22/25, 8:53 PM
by igbanam on 2/22/25, 7:58 PM
I use Vim because I enjoy fitting Vim to how I think. But since the love story of Vim-based setups are long gone for you, I'd recommend picking up one of these new distros for Neovim — there are not as many i know about in pure Vim.
I've heard good things about Lazy.nvim and Astro.nvim.
by ankurdhama on 2/22/25, 7:01 AM
by geophph on 2/23/25, 12:39 AM
by stefanos82 on 2/22/25, 5:58 PM
I use Vim, not neovim, and I use coc.nvim; it supports LSP servers just fine, I'm quite pleased!
by epirogov on 2/22/25, 5:47 PM
by babuloseo on 2/22/25, 5:11 PM
by babuloseo on 2/22/25, 5:12 PM
by beretguy on 2/22/25, 2:02 AM
by dudus on 2/23/25, 8:11 AM
by Davidbrcz on 2/22/25, 8:47 AM