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

Notification

Icon
Error

Large number of threads
MattK
#1 Posted : Tuesday, October 8, 2013 3:38:17 PM(UTC)
Rank: Member

Groups: Registered
Joined: 10/8/2013(UTC)
Posts: 11
Location: United Kingdom

Thanks: 2 times
Was thanked: 2 time(s) in 2 post(s)
I have had my visual studio open in the background all day. I haven't done much work at all on it, so it has been mostly idle all day. When i look in task manager, it says that the nCrunch.TestHost.x86.exe is using 343 threads. Is this a bug? How come it is using so many threads? Even visual studio is only using 112!
Remco
#2 Posted : Tuesday, October 8, 2013 10:20:25 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Hi! Thanks for sharing this issue. It is not normal for this process to guzzle threads, although this is the same process that is used to execute your test code, so if you have a test (or series of tests) that create suspended threads, then this is certainly possible.

Try connecting to the process using the Visual Studio debugger and examine the call stack of the executing threads. Do they have anything in common?
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.027 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download