After using NCrunch some time I now experience constant 80-100% CPU usage on the devenv.exe process.
This is regardless of NCrunch being enabled or disabled for the current project.
Anyone else experiencing this?
Since NCrunch is not a "true" VS add-in I'm not sure the "Disable NCrunch" operation actually disables it completely, like I'm able to with other add-ins in the Add-In Manager.
So is there anything else I can do to make sure NCrunch is not doing stuff in the background?
FYI: the only additions to NCrunch is TestDriven.Net and ReSharper, both latest versions.
This is the first time this problem has been reported for any recent release of NCrunch. It's true that disabling NCrunch does not shut off the entire add-in (about 10% of it is still in operation). If you haven't already, try uninstalling NCrunch entirely to see if this makes any difference with the CPU consumption. If it does, let me know and I'll try talking you through a few things we can check.
This does confirm that it's likely to be NCrunch causing the CPU usage. The next step is understanding why ...
I'm wondering if you'd be able to help with answering the following questions. This will help me understand a bit more about your setup:
- How CPUs or CPU cores does your machine have and what is the processor model?
- Does the high CPU usage coincide with high memory usage and/or heavy I/O?
- Do you have this problem on all solutions?
- If this problem only seems to affect a certain solution, how many projects are in this solution?
- How many editor windows do you have open (roughly) at one time?
- If you are operating with NCrunch as part of a team, do your colleagues experience this problem with NCrunch?
Hm, after reinstalling NCrunch.Net I no longer see the excessive CPU usage. I consider the case closed :)
For the record, here's my answers to those questions
- How CPUs or CPU cores does your machine have and what is the processor model?
Intel Core2 Duo 2.8GHz with 8GB memory and a 256GB SSD drive.
- Does the high CPU usage coincide with high memory usage and/or heavy I/O?
My VS processes usually consumes 500-900 MB of memory. The CPU load occured even when VS was sitting idle when I was working in other applications
- Do you have this problem on all solutions?
Yes, the problem occured regardless of solution.
- If this problem only seems to affect a certain solution, how many projects are in this solution?
n/a
- How many editor windows do you have open (roughly) at one time?
0 - 15 maybe, it varies.
- If you are operating with NCrunch as part of a team, do your colleagues experience this problem with NCrunch?
Currently, I'm the only user on my team
Thanks for the info Peter! The answers you've given above exclude certain areas of the tool that I would have suspected could cause this problem, so my theory is that it may have been caused by a clash between multiple plugins or a bug in VS that was cleared when the package cache was cleared. If it happens to you again, please do let me know and we'll try to narrow it down further.