Home > Computers and Internet > Why does Visual Studio take so long to shut down?

Why does Visual Studio take so long to shut down?

For everyone who’s used Visual Studio, I’m willing to bet you have wondered why it takes so long for Visual Studio to shut down. Outlook can take a while to close, but I assume that in part has to do with telling the Exchange server that it’s shutting down. Which can be a good thing. But Visual Studio isn’t talking to a server, so why does it take it so long to close?
The answer is that it is talking to a server on shutdown. Visual Studio sends it’s SQM data on close. If I ever get in a position where I can influence that decision I will. Closing should be a fast operation, not one that loads assemblies and creates connections.
  1. D
    January 5, 2012 at 12:51 pm

    Forgive me if everyone else knows but what is SQM data?

    • January 5, 2012 at 1:48 pm

      SQM data (pronounced squim) is usage data that gets sent back to Microsoft. While I don’t know exactly everything Visual Studio collects it would probably be information around the different project types which are created (C#, VB, etc) and the size of the solution (how many files are in it, etc). All of that data gets compiled into reports that Microsoft Engineers then use that information to see what they need to change for the next release. They’ll also use the information to design stress/reliability tests.

  2. Matthys
    August 16, 2012 at 7:57 am

    Is there no way to disable this functionality? Perhaps we can block it on the firewall… what port & protocol?

    • August 16, 2012 at 8:43 am

      You can leave the customer experience program. Under help there should be an option about customer experience.

      • Matthys
        August 17, 2012 at 1:01 am

        Thank you, I found it.

        In a typical day I have open up to 8 VS2008/2010 windows for various interconnecting projects such as web-services, UI’s, reporting, libraries etc. it literally take me up to 15 minutes to close just Visual Studio instances when I pack up at the end of a day. It’s a daily test of my patience. 🙂

  3. bob
    October 26, 2017 at 6:57 am

    This is good to know. It’s 2017 and here at work I’m using a licensed 2010 version that is like watching mud slide down shingles on a roof when I open and close it. Just turned off the customer feedback service and it opens and closes like an application should.

    • January 5, 2018 at 8:54 am

      bob, love the analogy!!! “mud slide down shingles” 😛

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: