Comment by barishnamazov
1 month ago
In my previous work, a few folks in my team used VSCode on a shared dev box. The box has 1TB memory, and we'd frequently OOM due to vscode servers taking up tens of GBs of memory (which adds up quickly when there are multiple vscode windows per person). Sometimes it'd eat as big as 100GB until it had to be restarted. Sure, big codebases, but that's just straight unacceptable.
What are you doing such that it uses tens of GB...? Vscode is bloated, but not THAT bloated...
Which language/plugins?
C++ (clangd) and Python (pyright and ruff). But I think the excessive memory usage came from huge number of files in the code base, plus some really large files (given I ran LSP on neovim too with much smaller footprints).
I mean I've used code over SSH on machines that won't even have ten gigs of RAM let alone tens of gigs. I use it via WSL at work on huge projects but WSL might have optimizations plain SSH doesn't. Idk what y'all are doing, that sounds like you've done something strange.