Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2019 release. High CPU usage

I have got brand new installation of VS2019 Community (release version) beside VS2017. When i load project to work on there is constantly about 30% of CPU is using on idle.

Project is completely loaded, analyzed and running on IIS Express. Project is small and running with no problems on VS2017 (C# + ASP.NET Core MVC)

enter image description here

like image 367
Sam Alekseev Avatar asked Apr 03 '19 11:04

Sam Alekseev


People also ask

Why is my CPU usage suddenly so high?

Scan your computer for viruses and malware Unfortunately, malware and viruses are often the culprits behind high CPU usage. You may sometimes notice them by browsing through the Task Manager, but oftentimes they will be concealed and won't be that easy to spot.

Is 100 CPU usage normal while rendering?

Solution: This is expected behaviour. The render process is designed to harness all CPU cores for speed.

Is VS2019 faster than VS2017?

The same solution and target takes a lot longer to compile in VS2019 than it does in VS2017. After doing a solution clean; the compilation takes around 00:06:09.80 with VS2017. Doing a solution clean and a rebuild with VS2019 takes 01:01:24.53.


1 Answers

I had the same problem as you today. Fresh Visual Studio 2019 installation and my CPU was constantly on around 30%. I noticed that Visual Studio is indexing files. On the left bottom corner you can click on an animated icon to see what is going on. After it finished this process my CPU went down to 1-2%.

enter image description here

like image 170
jwillmer Avatar answered Oct 07 '22 21:10

jwillmer