Search code examples
visual-studio-2015cpu-usagevs-community-edition

Visual Studio Community 2015: High CPU When Idle


VS Community 2015 uses very high CPU (~50-75 %) if I open a single source file using VS, then close it. This does not occur if I simply start a new VS instance and close the start page (should theoretically be the same state).

I've tried some of the circulating remedies like switching off MS Git support, Enable Browser Link, running in non-admin mode, etc. Nothing works.


Solution

  • It's not the exact same situation: Because if you open a single file, VS also creates a (temporary) solution. Check this with the Solution manager. This solution is not automatically closed if you close the source file. If you only close the start page, there is no solution.

    Seems there is some bug with VS which leads to high CPU consumption if there is an open solution but no open files. If you close the temporary solution, CPU usage will go down. If you have at least one file open, CPU usage will go down.