VS Code High Memory Usage

Share
Ongoing All Updated November 13, 2026Based on 3 user reportsHow we research

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. 1. Identify the biggest process

    1. Open Help > Open Process Explorer
    2. Note whether it is the extension host, a language server or the renderer
    Did this fix it?
  2. 2. Bisect extensions

    1. Use Extension Bisect from the Extensions view ... menu
    2. Remove or replace the heavy extension
    Did this fix it?
  3. 3. Exclude large folders

    1. Add big folders to files.exclude and files.watcherExclude
    2. Open a sub-project instead of the whole monorepo
    Did this fix it?
  4. 4. Restart periodically

    1. 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
Fixed it? Share this guide

The same problem in other apps

All slow, laggy or resource-hungry guides →

Other VS Code errors

All 12 VS Code errors and fixes →