Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, February 18, 2009 7:22 PM
On trying to open the IDE using Run As administrator checked in the shortcut options, I've suddenly started getting the error:
"c:\program files\microsoft visual studio 9.0\common7\ide\Devenv.exe
No more threads can be created in the system"
I'm running Vista Ultimate and VS 2008 SP1 is installed and has been running fine up until yesterday.
If I disable Run As Administrator in the shortcut options, the IDE runs fine
Anyone else experiencing this?
Ben
All replies (2)
Friday, February 20, 2009 6:59 AM ✅Answered
See: http://msdn.microsoft.com/en-us/library/ms832079.aspxPlease remember to mark the replies as answers if they help and unmark them if they provide no help. http://forums.msdn.microsoft.com/en-US/vssetup/thread/60424309-bd78-4ca2-b618-03c4a16123b6
Friday, February 20, 2009 7:39 PM ✅Answered
Some additional info -- usually when you run out of thread space, an app is misbehaving; either it's spinning off too many threads or (usually) not releasing old ones properly. You can check the number of threads currently running in Task Manager under the Performance tab in the System section.
Does this error occur right after restarting Windows, or only after it's been running awhile? Try restarting Windows, minimizing the number of other programs that are running (including services and applets) and see if the problem persists. It might take a process of elimination to pinpoint which program is causing the problem.
BTW, here an interesting blog post about threads in Windows to help you understand them better.
HTH,