VS Code High Memory Usage
Quick answer
VS Code memory climbs with many extensions and big workspaces. Check Process Explorer, bisect extensions and exclude large folders.
Most likely fix: Identify the biggest process
How to fix it
Try these in order — the most common fix is first.
1. Identify the biggest process
- Open Help > Open Process Explorer
- Note whether it is the extension host, a language server or the renderer
Did this fix it?2. Bisect extensions
- Use Extension Bisect from the Extensions view ... menu
- Remove or replace the heavy extension
Did this fix it?3. Exclude large folders
- Add big folders to files.exclude and files.watcherExclude
- Open a sub-project instead of the whole monorepo
Did this fix it?4. Restart periodically
- Run Developer: Reload Window or restart VS Code after long sessions
Did this fix it?
Symptoms
VS Code uses several GB of RAM or slows after hours of use.
Why it happens
- Many extensions
- Large workspace indexing
- Language servers holding large projects
- Long-lived windows with many tabs
This guide also covers
- vscode high memory usage
- why is vs code so slow
- vscode taking too much memory
Still not working?
If VS Code keeps failing, you're not alone. See every VS Code problem users report or the alternatives people switch to.
Need a custom web app or internal tool? Our small team builds it, on your domain or hosted by us. Price agreed together.
Get a quote