Visual Studio 2013/2015 Idle CPU usage

Visual Studio-2013Visual Studio-2015

Visual Studio-2013 Problem Overview


I'm currently evaluating Visual Studio 2015 RC. I've noticed when running the IDE, The Visual Studio 2015 process is constantly at around 25% CPU usage. Even without a project loaded and without the welcome page it is gobbling up 25% CPU usage at a constant rate. No other applications running other than background services. All other running processes use around an additional 2 to 4 percent CPU overall.

This behavior has also been noticed in Visual Studio 2013.

Is anyone else seeing this behavior? Is this normal? Any suggestions?

Visual Studio-2013 Solutions


Solution 1 - Visual Studio-2013

Had this same problem. Processor constantly at 45-50% even when the IDE is completely idle.

Turns out the problem is the Microsoft Git Source Code provider.

I turned that off and processor dropped to 0 and the IDE became much more usable.

Solution 2 - Visual Studio-2013

In my case disabling Telerik ASP.NET MVC Extension solved high CPU issue.

High CPU load started on solution load and didn't drop (40% with one, 80% with two solutions) until VS was closed or even sometimes after (had to kill the process).

Tools->Extensions and Updates->Installed, find the extension and click 'Disable'.

Solution 3 - Visual Studio-2013

In my case all reference counts tried to update every time when I edit code. enter image description here

I have just turned them off. You can do it this way.

Solution 4 - Visual Studio-2013

It’s not to be expected that Visual Studio should chew up continuous CPU time.

I am running Visual Studio 2015 Community RTM right now with a medium sized project open, and am not seeing any ongoing CPU usage (according to Process Hacker 2, which shows usage as small as 0.01 percent). It’s just blank, which means not even 0.01% CPU usage is registering.

Keep in mind that IntelliSense scans your project files in the background to build the database for popping up its suggestions, etc.

Choosing Project > Rescan Solution from the menus will result in that process being done over, which will cause the CPU to be used for a time. But it should ultimately go quiet.

Seemingly forever, there have been times when deleting the Intellisense Database files and doing a full rescan solves “odd behavior” type problems. I don’t know if it’s the “prescribed” method, but if I suspect an IntelliSense problem I just delete the .sdf file in the project folder if I want to make sure Visual Studio starts with a clean slate. This isn’t necessary very often.

Solution 5 - Visual Studio-2013

I also had this problem, constant 20-40% CPU when idling (Visual Studio 2015 update 1). I noticed that other local repositories of the same code did not have this problem.

I deleted the problematic local repository and took a new checkout, this solved the issue for me. Why this worked, I unfortunately cannot explain...

Solution 6 - Visual Studio-2013

I run resharper, turned that off and turned off the Microsoft Git provider and still had high CPU issues, devenv.exe would also run after close... until recently.

It appears VS 2015 Update 2 has resolved these issues!

https://www.visualstudio.com/en-us/news/vs2015-update2-vs.aspx

Solution 7 - Visual Studio-2013

In my case; "Visual Studio 2015 Update 1" gone crazy editing JS files regarless of the length of the source. It used high CPU and the editor is even freezed. I fixed the issue by disabling the 3rd party add-ons by one-by-to detect the buggy one causing VS 2015 malfunctioning.

Hope it works.

Solution 8 - Visual Studio-2013

In my case, the culprit was Node.js tools for Visual Studio. I had v1.1.2 installed and the cpu was constantly around 25-40%.

A switch to Node.js Tools v1.2 RC resolved the problem completely after an initial high load that went away in a couple of minutes.

Solution 9 - Visual Studio-2013

In my case it was either the Roaming Extention Manager or most probably the azure worker role project in my solution. If you have one of these try unloading it and restart visual studio. I can reproduce it but I don't know why it happens.

Solution 10 - Visual Studio-2013

I've noticed also that when running and stopping a debug episode on the local server, if the page is still open in the browser, VS will continue to run at high CPU. Closing the browser page stops this.

Solution 11 - Visual Studio-2013

I want to share my experience, In my case I had to diable all extensions and updates and code analysis c#.

1-For extensions and updates :

Tools => Extensions and updates

2-For the code analysis

Solution explorer => right click on the project => Properties =>Click on the tab "Code analysis" => click on the "Open" bouton => Uncheck the checkbox "Microsoft.CodeAnalysis.CSharp" => save and exit.

Cpu usage descended to 1 %.

Solution 12 - Visual Studio-2013

In my case, The .suo file in Visual Studio was the culprit. Deleting it fixed my issue.

Refer below link for more details.

https://shemeerns.com/2014/04/04/the-solution-user-options-suo-file-in-visual-studio/

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestiongjacquezView Question on Stackoverflow
Solution 1 - Visual Studio-2013RadView Answer on Stackoverflow
Solution 2 - Visual Studio-2013Michael BrenntView Answer on Stackoverflow
Solution 3 - Visual Studio-2013NeshtaView Answer on Stackoverflow
Solution 4 - Visual Studio-2013NoelCView Answer on Stackoverflow
Solution 5 - Visual Studio-2013Oyvind HabberstadView Answer on Stackoverflow
Solution 6 - Visual Studio-2013AttersView Answer on Stackoverflow
Solution 7 - Visual Studio-2013aliView Answer on Stackoverflow
Solution 8 - Visual Studio-2013AlexView Answer on Stackoverflow
Solution 9 - Visual Studio-2013pinkiView Answer on Stackoverflow
Solution 10 - Visual Studio-2013EddieBTView Answer on Stackoverflow
Solution 11 - Visual Studio-2013Coskun OzogulView Answer on Stackoverflow
Solution 12 - Visual Studio-2013PriyankaraView Answer on Stackoverflow