Categories
geek microsoft programming software tips tools windows

visual studio 2010 becomes slow after saving on Windows 7

Rust and oil inside "Niles machine tool" (HDR)

Ran into this annoying bugger of a problem with Visual Studio 2010 on Windows 7 where every time I saved a file (any file, no matter how large or small it was) the GUI started reacting extremely slow on me. Menu’s didn’t react, keystrokes didn’t appear, scrolling didn’t work. It acted like a whole bunch of stuff was going on, but nothing really was. After a few minutes or so responses where back to normal, until I saved a file again…

While it was happening CPU usage of devenv.exe was fine (very low). Cleaning the solution didn’t help either, which in some cases fixes odd VS behaviour. In short, I was at a loss. Googling for a solution didn’t really bring up a solid answer, until I found a post that mentioned something about jumplists in Windows 7 and VS 2010 being slow. In that post the antivirus software is blamed but that was not the issue in my case, since the issue only started occurring recently without any changes to my setup.

Using the Systems Internals (great tools there btw if you want to dig deeper into your Windows system) file monitoring tool I noticed that a file in a specific path was sort of hanging things. When I looked up the file it did point to those so-called jumplist thingies again. After clearing these shortcut files, VS started acting like normal again.

So, if you’re having issues with a slow VS 2010 on Windows 7 on saving, try clearing the jumplists like this:

  1. Right-click the Start button
  2. Choose Properties
  3. Uncheck both checkboxes under the Privacy group
  4. Click the Apply button
  5. Re-check both checkboxes
  6. Press OK

If you’re lucky, VS should be running smooth as butter again.

Photo by Morgennebel, cc-licensed.

13 replies on “visual studio 2010 becomes slow after saving on Windows 7”

Finally !! The only post that solved the problem. I’ve been struggling with this issue for almost a month and couldn’t find the solution. Tried many googled suggestions, delete .suo and temp files, uninstall Anti Virus, reinstall Visual Studio and nothing helped.
Thank you so much !

I don’t understand why jumplists will have any relation to Visual Studio’s save, but apparently there is a relation. For me the save time reduced from 5+ seconds to few milli seconds.

Thanks a lot!!!

No idea. I never ran into it on WinXP. This jumplist thing is also new in Windows 7 AFAIK, so what you’re having is probably related to something else.

You can however use the System Internals tool I used to help you track the source of the issue, and see what file IO is going on when the issue occurs.
That’s how I managed to figure out what was wrong on Win7.

Bless you sir – this was my problem and it was maddening. Like you said, the moment I did this VS became smooth as butter when saving once again!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.