Share via

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

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.


2 answers

Sort by: Most helpful
  1. 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

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  2. Anna Xiu-MSFT 31,201 Reputation points Microsoft External Staff
    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.

    Was this answer helpful?


Your answer

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