Skip to content

Memory "leak" when parsing a large workspace #2737

@sean-mcmanus

Description

@sean-mcmanus
  1. Open a large workspace such as chromium with >100k files to parse. The issue occurs the 1st time or after a Reset IntelliSense Database occurs.

Bug: Memory usage of the main process keeps increasing. It's possible we could crash from an out of memory on 32-bit Linux.

UPDATE: Actually, looks like our parser is accumulating memory in various places (i.e. not a simple fix). The workaround is to do a Reload Window if memory usage gets too high.

UPDATE: Should be fixed with 0.21.0-insiders (auto installed if "C_Cpp.updateChannel": "Insiders" is set, or manually installed from the offline vsix). Let us know if you find any problems with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions