Skip to content

Shutdown IntelliSense cpptools-srv process when it reaches N amount of memory usage #6230

@michelleangela

Description

@michelleangela

There has been issues on memory usage around IntelliSense engine process on macOS and Linux platforms. On Windows, the IntelliSense engine process will shutdown when it reaches a certain threshold of memory usage, therefore there has been no feedback issues on memory usage on Windows as the process will terminates before it uses an undesirable amount of memory.

To mitigate the memory usage issue on macOS and Linux, add a mechanism to terminate the IntelliSense engine process when it reaches N amount of memory usage.

Value of memory usage limit:

  • The limit is configurable
  • default is 4 GB
  • minimum is 256 MB
  • maximum is 6 GB

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions