Page 2 of 2

Re: Constant CPU Usage

PostPosted: July 24th, 2018, 8:15 am
by metal450
I use Visual Studio full-time for C# development, always with the firewall up. I've literally got it running 8hrs+/day, every day, and never turn off my firewall. This issue has never arisen. It unquestionably only happens when I have a PHP project opened. (I'm working in Visual Studio as we speak, and have been all day - never any issues, until I open PHP).

Re: Constant CPU Usage

PostPosted: July 25th, 2018, 8:51 am
by maros.beno
Hi, maybe I have encountered different problem than you. There seems to be a lot of problems with high CPU usage in VS2017 https://developercommunity.visualstudio ... s2017.html . I guess I could add this to their long list.

Re: Constant CPU Usage

PostPosted: July 25th, 2018, 3:57 pm
by metal450
Yeah - it looks like none of the ones listed there are this one though. This one is only when using PHP projects with Firewall active. (Not otherwise with Firewall active, not with PHP projects without Firewall).

Re: Constant CPU Usage

PostPosted: July 28th, 2018, 6:42 am
by metal450
Here's proof that this only affects PHP projects.

Two Visual Studio instances open, one of a C# project, one of a PHP project. One has high CPU usage, one doesn't: http://take.ms/yZdCX

Quit the PHP instance. High CPU usage issue disappears: http://take.ms/ZjSxO

Re: Constant CPU Usage

PostPosted: August 6th, 2018, 12:47 pm
by Miloslav Beno
Hello,

Could we schedule a teamviewer session? We could try to attach to the busy VS, break it and see what's on stack of various threads. I hope it will help us to find the sucker.

Thanks again for your patience,

Re: Constant CPU Usage

PostPosted: August 6th, 2018, 5:54 pm
by metal450
Perhaps as an easier alternative to a live session, is there a way you could just instruct me to capture the information you need, the next time it happens?