Massive SUO file causes Visual Studio to hang when doing pretty much anything

I’ve been dealing with horribly slow performance from Visual Studio 2008 (SP1) for a few weeks now. We’re talking seriously slow performance. Like 30-40 seconds of unresponsiveness to save the solution; 20-30 seconds of unresponsiveness after compilation if there were any errors.

Today, after taking a few memory dumps to send to Microsoft, I set out to look for network references (an idea from a workmate). I didn’t find any (nor did I expect to), but I did find a 250MB (!) SUO (Solution User Options) file.

I have no idea how the SUO file got so large, but deleting completly fixed the problem. Visual Studio has returned to it’s usual speediness. I do regret, though, not making a copy of the SUO to send to Microsoft. Next time, perhaps.

About these ads
This entry was posted in Visual Studio.NET. Bookmark the permalink.

5 Responses to Massive SUO file causes Visual Studio to hang when doing pretty much anything

  1. Dave says:

    Thanks for that tip! I had experienced the same sort of inexplicable slowness with loading my project recently–it was taking several minutes to open a fairly small project. Deleting my SUO fixed it.

  2. Fulvio says:

    Hey Richard, I had the same problems as you. Delete the .suo file and I’m flying now. Thanks for posting this and dare to delete the .suo file. I wouldn’t have tried that.

  3. Mike says:

    Thank you for this recommendation! It helps me to save a lot of time with slow VS2010 code tabs!

  4. Lonely Coder says:

    Deleting the .suo file isn’t a good solution, every time I delete it my project starts and stops instantly, but still, I have to reset all the project options, and then the problem still keeps on coming back!
    Isn’t there a more permanant solution? Mine takes about 30 seconds to run, and 30 seconds to stop running.

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 )

Connecting to %s