Skip to content

High memory consumption #1974

@vasily-kirichenko

Description

@vasily-kirichenko

Repro steps

  1. Open VisualFSharp.sln
  2. Open service.fs file
  3. Wait for semantic colorization to appear
  4. Look at devenv.exe private set size, it's about 2GB

image

Expected behavior

Never consume more than 2GB, preferably less than that.

Actual behavior

Features like Document Highlight and Inline Rename take up to 20 seconds to complete, even without any changes in files. One of CPU cores is loaded at 100%. Occasional UI freezes (supposedly due to blocking GC).

Known workarounds

Do not open any files in large projects.

Related information

  • master branch

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-LangService-APIImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions