Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Browse database relocated to `/var/tmp` despite settings; quickly consumes all available space under `/`

未关闭
#14,795 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@sean-mcmanus 已经在做这个了。

开始于 2026年9月23日。

评估

这个 Issue 还没有评估数据。

描述

bug Language Service regression
Environment
  • OS and Version: macOS 26.5.2 (VSCode Editor)
  • VS Code Version: 1.138.0
  • C/C++ Extension Version: 1.34.4
  • If using SSH remote, specify OS of remote machine: Rocky Linux 8.9
Bug Summary and Steps to Reproduce

After updating the C/C++ IntelliSense plugin and VSCode earlier today, I quickly discovered my SSH remote had run out of disk space on /. On investigating, I found a 41GB .browse.VC.db file under /var/tmp/.vscode-cpptools-XXXXXX.

If I delete this file and kill remote cpptools-srv2 instances, the language server restarts, immediately recreates .browse.VC.db, and begins filling the file.

I do see a 70+GB file at the location specified by c_cpp_properties.json (see below), but it appears this configuration setting is no longer being honored. Nor is the path specified by C_Cpp.default.browse.databaseFilename.

This was working until the recent upgrade.

Configuration and Logs
-------- Diagnostics - 9/23/2026, 1:45:49 AM
Version: 1.34.4
Current Configuration:
{
    "name": "Linux",
    "includePath": [
        "<REDACTED>"
    ],
    "defines": [
        "_DEBUG",
        "UNICODE",
        "_UNICODE",
        "NV_LINUX"
    ],
    "compilerPath": "/usr/bin/gcc",
    "cStandard": "c11",
    "cppStandard": "c++17",
    "intelliSenseMode": "linux-gcc-x64",
    "browse": {
        "path": [
            "<REDACTED>"
        ],
        "limitSymbolsToIncludedHeaders": false,
        "databaseFilename": "${workspaceFolder}/.vscode/browse.vc.db"
    },
    "compilerPathIsExplicit": true,
    "cStandardIsExplicit": true,
    "cppStandardIsExplicit": true,
    "intelliSenseModeIsExplicit": true,
    "recursiveIncludesPriorityIsExplicit": false,
    "recursiveIncludesOrderIsExplicit": false,
    "compilerPathInCppPropertiesJson": "/usr/bin/gcc",
    "mergeConfigurations": false,
    "recursiveIncludes": {}
}
Modified Settings:
{
    "C_Cpp.errorSquiggles": "enabled",
    "C_Cpp.default.compilerPath": "/usr/bin/gcc",
    "C_Cpp.default.cStandard": "c11",
    "C_Cpp.default.cppStandard": "c++17",
    "C_Cpp.default.browse.databaseFilename": "/data/vscode-cpptools/${workspaceFolderBasename}/browse.vc.db",
    "C_Cpp.intelliSenseCachePath": "/data/vscode-cpptools"
}
Additional Tracked Settings:
{
    "editorTabSize": 4,
    "editorInsertSpaces": true,
    "editorAutoClosingBrackets": "languageDefined",
    "filesEncoding": "utf8",
    "filesAssociations": {
        "*.c": "c",
        "*.cpp": "cpp",
        "*.h": "c",
        "*.hpp": "cpp"
    },
    "filesExclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/.DS_Store": true,
        "**/Thumbs.db": true
    },
    "filesAutoSaveAfterDelay": false,
    "editorInlayHintsEnabled": true,
    "editorParameterHintsEnabled": true,
    "searchExclude": {
        "**/node_modules": true,
        "**/bower_components": true,
        "**/*.code-search": true
    },
    "workbenchSettingsEditor": "ui"
}
cpptools version (native): 1.34.3.0
Current database path: /var/tmp/.vscode-cpptools-102571/browse-database/{16150885415521154784}/.browse.VC.db
No active translation units.
Other Extensions

No response

Additional context

No response

主要语言
TypeScript
星标
6.2k
派生
1.7k
平均合并
1 天 4 小时
30 天内合并 PR
58

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/vscode-cpptools 的其他 Issue

查看 microsoft/vscode-cpptools 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。