Skip to content

maybe memory leak in "Go to Definition" #5611

Open
@sundalin0512

Description

@sundalin0512

Type: LanguageService

maybe memory leak in "Go to Definition"
The Memory grow after each "Go to Definition"

Describe the bug

  • OS and Version: Linux Ubuntu 20.04
  • VS Code Version: 1.45.1
  • C/C++ Extension Version: 0.28.2
  • Other extensions you installed (and if the issue persists after disabling them):n/a
  • Does this issue involve using SSH remote to run the extension on a remote machine?:yeah
  • A clear and concise description of what the bug is, including information about the workspace.
    My workspace is an AOSP project,more than 100000 cpp files.
    When I fall back to use 0.26.0, it‘s behavior perform normally.

Steps to reproduce

  1. open a cpp file
  2. Ctrl+Click at every function call or variables to "Go to Defination"
  3. the Memory grow about 100M each time

Expected behavior

the Memory should not increase so terrible.

Screenshots

Additional context

When I fall back to use 0.26.0, it‘s behavior perform normally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions