This post originated from an RSS feed registered with .NET Buzz
by Sam Gentile.
Original Post: Windows Vista and MSCORSVW.EXE
Feed Title: Sam Gentile's Blog
Feed URL: http://samgentile.com/blog/Rss.aspx
Feed Description: .NET and Software Development from an experienced perspective - .NET/CLR, Rotor, Interop, MC+/C++, COM+, ES, Mac OS X, Extreme Programming and More!
On 8/14/05, I wrote about 9 days problem free on Vista and how impressed I was. I am still using Vista but with the use of Outlook, VPC and some versions of VS2005 to do my work, I have run into some serious issues. Very often, mscorsvw.exe will start running for no apparent reason and use 40-80% of the CPU. I don't know quite what's going on but it's making it awful hard to keep using it for work. It wasn't doing this before so I am not sure what is going on. It's doing it right now (49% CPU) with nothing running (and you can hear the disk kicking in as well)!
Ah, it seems to be something with the .NET Runtime Optimization Service which is supposed to “provide support for optimizing managed assemblies using NGEN technologies.” Ah, I am going to have to dig into this from my CLR/Rotor hat and understand this. Jeff Richter had talked to me a while back about the upcoming NGEN changes and improvements and there has been an MSDN article as well. I don't understand what the Optimization Service is supposed to be doing but that's the guy that's eating all the CPU and with it off, it's all OK again. Hmm...