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

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions