安装好.net framework后运行慢
表现
- 系统有时运行慢,尤其是.net程序运行得相当慢
- mscorsvw.exe与mscorsvw.exe *32两个进程挂在任务管理器里时不时地占着CPU
解决
运行以下两条命令,加快这两进程的运行,以使其尽快完成其工作
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe executequeueditems
C:\Windows\Microsoft.NET\Framework\v4.0.30319\ngen.exe executequeueditems
参考
What is mscorsvw.exe and why is it eating up my CPU? What is this new CLR Optimization Service?
NGen Revs Up Your Performance with Powerful New Features
The Performance Benefits of NGen
NGen Revs Up Your Performance with Powerful New Features
对于Global Assembly Cache与Native Image Cache的一点探索
勉強心を持てば、生活は虚しくない!