Closed timamus closed 1 month ago
We would need to identify if Roslyn or project system processes.
We would need to identify if Roslyn or project system processes.
How to identify it?
Microsoft.VisualStudio.Code.ServiceHost is the servicehub host process I believe. Roslyn does not use service hub, and it doesn't appear to be the project system or CPS processes either. Moving over to the extensionmanagement area - someone on the service hub side needs to take a look here.
I can't repro the problem given the instructions in the issue description. @timamus Are you still seeing this? If so, can you collect an ETL trace while the process is spinning and share the .zip (that includes symbols) with us? My favorite tool to collect such a trace is PerfView.
I have a problem with Microsoft.VisualStudio.Code.ServiceHost:
I have a large Unity project with 301 projects in Solution. There is a very large memory consumption by the process: Microsoft.VisualStudio.Code.ServiceHost.
C# v2.39.28 (pre-release)
C# Dev Kit v1.9.8 (pre-release)
@MihaPro-CarX Wow. 26GB! I can't say whether that's a bug for 301 projects, but we can certainly investigate. But can you open a separate issue as that seems distinct from this issue.
I'm going to close this due to lack of a repro and no response from the OP.
@AArnott I opened another issue: https://github.com/microsoft/vscode-dotnettools/issues/1295
Describe the Issue
Microsoft.VisualStudio.Code.ServiceHost loads the CPU constantly by 25%. This happens in all versions of the C# devkit extension above 1.0 when the .net project is open in VS Code.
Steps To Reproduce
No response
Expected Behavior
No response
Environment Information