SonarLint High CPU usage in Visual Studio 2017 Enterprise

dotnet

(Szilard David) #1

Hey,

Creating thread as advised on the Visual Studio Marketplace page

https://marketplace.visualstudio.com/items?itemName=SonarSource.SonarLintforVisualStudio2017&ssr=false#review-details

Issue is that I’m noticing heavy CPU usage for long periods (my laptop gets really noisy and I have to kill the process from task manager). Is this a known issue ?

The process I’m killing is called ServiceHub.Host.CLR.x86 (32bit) which points to this exe:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\ServiceHub\Hosts\ServiceHub.Host.CLR.x86\ServiceHub.RoslynCodeAnalysisService32.exe

I’m planning on upgrading to VS 2019, but I’m assuming that the issue is the same.

Any tips to solve ?

Thanks,
Szilard