asp.net mvc - devenv.exe hogs CPU when debugging -
short version:
when debug asp.net mvc apps in vs2013 , try edit razor views or css files, cpu usage of devenv.exe skyrockets point vs becomes unresponsive. browser link turned off, yet still happens. restarting debugging doesn't help, restarting vs doesn't help, restarting windows helps short while, before problem shows again. how fix this?
long version:
i'm having trouble visual studio 2013. namely, after start debugging asp.net mvc app devenv.exe starts hogging cpu (to point visual studio becomes unresponsive). time ago happening time time, happens always.
at first thought problem browser link, problem didn't go away after turned off , closing browser while debugging doesn't have effect.
stopping debugging makes stop hogging cpu, doesn't make problem go away when debug app next time. restarting vs doesn't either , restarting windows helps little while.
the main clue here devenv.exe shows low cpu usage while vs window not active. switching vs window makes devenv.exe use more cpu, trying in vs (especially editing razor view or css file) makes cpu usage skyrocket.
anyone got idea causing problem , how solve it?
being unable edit css , views while debugging lowering productivity (the app takes minute or 2 start).
p.s. app i'm working on right nopcommerce based shop, had problem before while debugging mvc apps had nothing nopcommerce.
i didn't manage find source of problem, closing editor windows in vs seems make go away. if there further lag spikes, restarting debugging might idea.
since didn't see problem in new project, might related sheer size of solution, number of files being opened in editor @ 1 time (though problem remained when left 1 view open), time files opened in vs (i'm not entirely sure why problem, maybe has file history).
Comments
Post a Comment