shanmugharaj
shanmugharaj

Reputation: 3914

Dotnet core 2 consuming high CPU

I just created a new project using dotnet new angular(using MAC) and when I run using dotnet run for the first time it seems fine. Now I exited the process with control + c made some changes and again run. This time after few seconds the CPU consumption of dotnet core becomes very high close to 100%.

My observations are,

  1. First time when I run dotnet run in Activity moniter i see multiple dotnet instances. When i exited the process in command prompt with control + c not all the process are getting killed.

  2. Always there is one process stays and it is consuming CPU nearly 100%.

This happens often to me. Did anyone come across such issue or what might be wrong here? Please help me on this I couldn't do developement in dotnet core because of this.

I raised issue here github link.

Upvotes: 2

Views: 6969

Answers (1)

Jorde Vorstenbosch
Jorde Vorstenbosch

Reputation: 51

There is currently an open issue on GitHub about this. See: https://github.com/dotnet/core/issues/1553

The issue was moved to dotnet/roslyn. For the open issue see: https://github.com/dotnet/roslyn/issues/24137

Came across this topic when I was googling this issue myself.

Upvotes: 1

Related Questions