Skip to content

When Building a Project, Extension Spawns a TON of RG.exe processes #1551

Closed as not planned

Description

Environment:
Production

  • VS Code Version: 1.108.0
  • Extension Version: 0.30.5
  • JDK Type & Version: N/A
  • OS Type & Version: Windows

Step to Reproduce:
When building a large repository with a lot of dist/ generated folders in a huge TS project, the extension proceeds to spawn 100+! rg.exe processes that lead the machine to essentially freeze and basically break. This change has seriously impacted building and has essentially made this extension a resource hogger.

Image

Expected Behavior:
Not to spawn 100+ rg.exe processes

Actual Behavior:
Spawns 100+ rg.exe processes that crash the entire machine

Related Issues:

Activity

  1. github-actions commented on Jan 23, 2026

    @github-actions

    Hi Jacob Pan (@jacob-y-pan), I'm an AI Support assistant here to help with your issue. While the team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.

    Suggested Workarounds

    • Exclude your generated folders from workspace search to stop ripgrep flooding:

    // in .vscode/settings.json
    {
      "search.exclude": {
        "**/dist/**": true,
        "**/node_modules/**": true
      },
      "files.watcherExclude": {
        "**/dist/**": true,
        "**/node_modules/**": true
      }
    }

    • (Optional) Disable ripgrep globally:

    {"search.useRipgrep": false}

    Duplicate Issue

    This appears to be the same problem as:
    • The system becomes extremely slow when loading a huge Java workspace (100+ rg.exe processes)
    redhat-developer/vscode-java#1236

    Other references with low confidence • No additional high-relevance threads found

    The team will respond to your issue shortly. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or incorrect, please give it a 👎. Your feedback helps us improve!

  2. jacob-y-pan commented on Jan 23, 2026

    @jacob-y-pan
    Author

    This is not a duplicate from 2020. This has been happening recently and spawns the processes for the entire build time, which already takes 20+ minutes. This issue causes the build to freeze.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions