Visual Studio 2022 using high CPU while idle

Emanuel Döser 30 Reputation points
2023-06-26T06:17:31.8466667+00:00

Hello,

Visual Studio 2022 is using high CPU (>14 % - 35%) while its idle nearly all the time. Sometimes it helps to close all the editor windows but its more like a workaround which helps just for some time and not always.

I did record my CPU consumption via Windows Performance Recorder but couldn identify which process is causing the CPU consumption. I would attach the file but is too large (80mb). Is there a way to provide it to you? Would be great if you could help me with this.

Thanks in advance

Emanuel

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,193 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 29,831 Reputation points Microsoft Vendor
    2023-06-26T07:35:16.82+00:00

    Hi @Emanuel, 

    Welcome to Microsoft Q&A! 

    Please close all running Visual Studio Instances and upgrade your VS2022 to the latest version with Visual Studio Installer.

    Then, re-launch your Visual Studio and check the CPU usage.

    Besides, it might be caused by installed extensions. You can temporarily disable or uninstall the installed extensions under Extensions > Manage Extensions > Installed

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Mina Mounir Samuel 0 Reputation points
    2024-07-27T00:20:08.0333333+00:00

    Hello every body, I have encountered the same problem and for me it was because my firewall was blocking some of the background services of visual studio specially PerfWatson2.exe, when I allowed those services to connect online visual studio 2022 began to settle down as usual

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.