Skip to content

RawFSharpAssemblyDataBackedByLanguageService produces large amount of data both in Gen1 and LOH causing UI delays in VS #5933

Closed
@davkean

Description

@davkean

Trace: https://developercommunity.visualstudio.com/content/problem/245320/coloring-typing-tooltips-and-intellisense-slow-in.html
Trace: https://developercommunity.visualstudio.com/content/problem/245786/slow-f-editing-experience-up-to-a-minute-until-typ.html

Gen Count MaxPause MaxPeak MB Max AllocMB/sec TotalPause TotalAlloc MB Alloc MB/MSec GC Survived MB/MSec GC MeanPause Induced
ALL 1844 123.2 686.4 3,358.514 17,263.7 11,083.7 0.6 0.475 9.4 0
0 336 20.4 680.4 3,358.514 1,509.5 2,459.5 0.1 1.033 4.5 0
1 1501 33.4 686.4 1,110.648 15,009.3 8,597.9 1.4 0.227 10.0 0
2 7 123.2 686.4 50.786 744.9 26.2 0.1 313.871 106.4 0

This class is producing huge amounts 4 GB of data in the above trace:
image

450 MB of this ends up on the large object heap:

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions