IIS Express high CPU usage VS2013 RRS feed

  • Question

  • User-1898464098 posted

    I am developing MVC4 application with EF5. There only small amount of data on the dev DB. the IIS Express Wroker process takes up 100% CPU, leaving the system almost unworkable. Following is my system config:

    Intel Core i7 with 8G memory on Win 8.1 Pro, VS2013 ultimate, SQL Server 2014 dev edition.

    I have executed the same application on a different machine, much smaller on resources and with Win7, VS2012 and SQL Server 2008 R2. The application runs fine there with rarely more than 0% CPU taken by the IIS Express

    I have been strugging with it over a day now but couldn't find the reason. Any help, much appreciated.

    Friday, June 20, 2014 11:08 AM

All replies

  • User-718146471 posted

    Ok, did you apply the latest service pack to VS2013?  I recall the original release had huge problems with spiking the processor.

    Friday, June 20, 2014 1:52 PM
  • User-1898464098 posted

    Hi, Thanks for the reply. Yes, I have the latest 2013 updates installed. I have MSDN subscription and I always keep my softwere well up to date.

    Saturday, June 21, 2014 5:01 PM
  • User-1454326058 posted

    Hi khan,

    Do you use the VS2013’s IIS Express?

    If so, please use the local IIS to check the result. If it works fine, I suggest that you could repair your VS.

    If not, please try to create a new simple project and check the results in your local machine and the different machine.

    On the other hand, maybe you could use the Performance and Diagnostics hub to analyze your project.

    # Combining Tools in the Performance and Diagnostics Hub in Visual Studio 2013



    Best Regards

    Monday, June 23, 2014 2:14 AM
  • User-1898464098 posted

    Hi Starain

    Thank you for the reply. 

    I have tried both IIS Express and local IIS. The result is same with both. However i found one thing. If I create an absolutely new MVC applicaiton, the CPU doesn't go high and remains in the normal range. But as soon as I retrieve some data from the sql server using the Entitiy Framework the CPU instantly goes to nearly 100%, ane remains there untill I kill the IIS worker process. It is worth mentioning that running the exactly same application in VS2012 works absolutely fine with the CPU usage always near zero. I had to keep the project running, so i have migrated to VS2012 just now, but would certainly want the VS213 working. :)


    Friday, June 27, 2014 8:55 AM
  • User-1454326058 posted


    Please try to update the Entity Framework package.

    Install-Package EntityFramework 


    Best Regards

    Tuesday, July 1, 2014 4:45 AM
  • User420117736 posted

    I had same issue.

    It got resolved by installing

    Visual Studio 2013 Update 3 RC


    Thursday, July 31, 2014 4:28 PM