Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

NCrunch Process \ Slow Computer
CoolBreeze
#1 Posted : Monday, February 13, 2017 5:05:06 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 7/11/2014(UTC)
Posts: 79
Location: United States of America

Was thanked: 9 time(s) in 9 post(s)
My system is running very slowly. In order to locate the source of the slowness I started task manager. I saw 20+ NCrunch processes:

5 - BuildHost40.x86.exe
5 - EngineHost40.x64.exe
10 - TestHost40.exe

I do have 7 copies of Visual Studio 2010 running. Most or all of these projects have NCrunch installed in them.

I think NCrunch is enabled in all of the projects. While I have hundreds of tests I believe NCrunch has run all the tests.

I'm not saying these NCrunch processes are the cause of the slow performance of my system.

But I am wondering what impact all these NCrunch processes might have on my system responsiveness.

Would those NCrunch processes be expected as normal given the number of VS projects I have open?

I'm diagnosing other items in the system for the slowness.

Thanks, Ed


Remco
#2 Posted : Monday, February 13, 2017 10:56:15 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi Ed,

Yes, for 7 instances of the NCrunch engine, this would be normal. Depending on how it's configured, NCrunch will keep processes around after it's created them in case they are needed again (up to a certain limit per engine).

You'll notice these processes use 0% CPU when they are inactive. This is because all they do is wait for instructions from the engine on when to perform processing. This means their CPU cost should be effectively zero. Their only cost will be in memory consumption.

You might want to look into these configuration settings if memory consumption becomes a problem for you:

http://www.ncrunch.net/documentation/reference_global-configuration_build-process-memory-limit.
http://www.ncrunch.net/documentation/reference_global-configuration_test-process-memory-limit.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.022 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download