Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Slow Visual Studio, related to SQMClient?

Visual Studio started working slower than usual, and after checking for add-ons and doing a repair, it's just as slow. I used process monitor to check what was going on, and found that a lot of stuff is going on related to SQMClient, which - as far as I understand, is part of Microsoft's customer feedback program. I'm not participating in the program (I've double checked). Still - process monitor tells me that VS does a lot of stuff related to SQMClient:

  • RegQueryKey HKLM SUCCESS Query: HandleTags, HandleTags: 0x0
  • RegOpenKey HKLM\Software\Microsoft\SQMClient SUCCESS Desired Access: Read
  • RegSetInfoKey HKLM\SOFTWARE\Microsoft\SQMClient SUCCESS KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
  • RegQueryValue HKLM\SOFTWARE\Microsoft\SQMClient\UploadDisableFlag NAME NOT FOUND Length: 144
  • RegCloseKey HKLM\SOFTWARE\Microsoft\SQMClient SUCCESS

It keeps repeating this over and over. Do any of you know why VS might do this, and if this is the reason behind the slow behavior?

like image 465
Hanne Smith Avatar asked Jul 14 '13 20:07

Hanne Smith


People also ask

Why is Visual Studio so slow?

You might have extensions installed that slow Visual Studio down. For help on managing extensions to improve performance, see Change extension settings to improve performance. Similarly, you might have tool windows that slow Visual Studio down.

Does Visual Studio slow down computer?

No. No app will slow down your computer unless you use it. Any app that you invoke will have an effect on RAM and processing, so they all “slow down” a computer. If you have enough resources (RAM, SSD, fast processor), you will not notice the effect.

Why is Visual Studio so heavy?

This is mainly because Visual Studio has lots of components, extensions and tools.


1 Answers

This problem may happen if there is a number of SQM reports, saved in the user profile. When unable to connect to internet Visual Studio stores SQM files in %userhome%\AppData\Local\Microsoft\VSCommon\<vs_version>\SQM. The number of files grows continuously and it can get to many thousands. When this directory is cleaned or removed, Visual Studio sped up significantly.

like image 93
Anton K Avatar answered Oct 28 '22 16:10

Anton K