Edit: My bad, apparently I didn't count all processes.
Launching it with no files open, the total private+shared memory adds up to ~300 MB. Screenshot of macOS Activity Monitor:
This memory usage is roughly the same on Windows 10 Task Manager:
In contrast, the so-called "heavier" classic Visual Studio 2019 v16.5 (devenv.exe) with no files open, Task Manager stats shows it using less than ~200 MB.
I think some folks get the impression VSCode is "lightweight" because the GUI/UI is lightweight. VSCode is less "busy" looking... less menu options, no ribbon with icons, less multi-panels of properties, etc. VSCode's GUI looks more like a bare-bones "text editor" than an IDE.
How they do it while using Electron? No idea.
You got me interested ^^
That's been my experience with watching stubborn fellow co-workers struggling with it while doing python development. On paper, it has all the features and whistles of course, so therefore it's the "best IDE".
Code completion, type-annotation, debugging, virtualenv, built-in linting, docker support, etc. But then when you use them, it's a virtual catastrophe of configs, random "does it work, no, try the config again, does it work now? Yes No?" And so it continues, for an hour. Meanwhile, a python IDE like PyCharm just works without hassle.