Search code examples
visual-studio-2010crashfreezedevenv

Visual Studio 2010 (devenv) Hung Process After Closing


I have problem with Visual Studio 2010 on Windows 7 64-bit. After some time of work VS starts consuming ~50% CPU and UI responding slows down. When I close VS then UI disappear but process stay.

When I forgot to kill those hung processes at the end of day, I will end up with numerous devenv.exe processes.

I have reinstall Visual Studio and reinstall Windows and ended up with the same problem... doesn't change anything. Please help. :/

devenv


Solution

  • Remove and/or uninstall all third-party Visual Studio add-ins and extensions. Disabling is not good enough.

    Visual Studio 2010 relies heavily on graphics. Therefore:

    • Update your video driver.
    • Turn off "Enable rich client visual experience"
    • Turn off "Use Hardware graphics acceleration if available"

    There are also temporary files that Visual Studio uses that may need to be cleared out.

    • Clear out your %temp% folder.
    • Clear out %AppData%\Local\Microsoft\WebsiteCache
    • Clear out %AppData%\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies

    Your project and solution user settings may be corrupt due to so many "crashes".

    • Delete .user and .suo files (you will lose the startup project, bookmarks, breakpoints, and other user settings specific to projects and solutions.)