Skip to content

cpptools-srv2 taking up lots of time. #14693

Description

@mattijsjanssens

Environment

  • OS and Version: macOS Tahoe 26.6.1
  • VS Code Version: 1.133.0
  • C/C++ Extension Version: Microsoft C/C++ DevTools
  • If using SSH remote, specify OS of remote machine:

Bug Summary and Steps to Reproduce

Bug Summary: C++DevTools in vscode seems to use cpptools-srv2 to parse the C++ files? This is already enough to almost hang my machine - has only 16Gb. Would be nice to get some

  • warning about what it will do
  • limit on memory? Limit on number of parallel compilations?

Configuration and Logs

{
    "configurations": [
        {
            "name": "Mac",
            "includePath": [
                "${workspaceFolder}/**"
            ],
            "defines": [],
            "compilerPath": "/usr/bin/clang",
            "cStandard": "c17",
            "cppStandard": "c++14",
            "intelliSenseMode": "macos-clang-arm64"
        }
    ],
    "version": 4
}

Other Extensions

No response

Additional context

No response

Metadata

Metadata

Labels

Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.

Type

Projects

Status
Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions