How to reduce VSCode memory usage
I've been using VSCode for quite a while now and one of the most annoying things that I have noticed is how much memory it uses, specially in comparison with Sublime Text.
I will present you a few tips that I have found to at least make it usable for big projects.
Disclaimer: I mostly use Python, therefore I'm sure that you will find a lot more options to optimize for Javascript or your preferred language.
Most of the tips below must be placed into your user settings (JSON)
Telemetry
First, did you know that VSCode sends data to Microsoft about it's usage?
If you want to turn it off is quite simple, place
"telemetry.enableTelemetry": false
into your configurations and you are all set.
Search Indexing
Search is one of the most memory consuming activity VSCode does. It has to keep an index of all your f