VS 2010非常慢 [英] VS 2010 very slow

查看:72
本文介绍了VS 2010非常慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚升级到VS 2010,并且遇到了以前从未遇到过的性能问题(在VS 2008中)。

I have just upgraded to VS 2010, and I have performance problems which I did not have before (in VS 2008).

最令人讨厌的是它在文本编辑器中工作时冻结。有时候冻结时,我会看到它正在保存自动恢复信息,但并非总是如此。

The most annoying thing is that it freezes while I work in the text editor. Sometimes when it freezes I see that it is saving auto recovery information, but not always.

几乎我所做的任何事情都会造成无法接受的长时间延迟,例如保存,开始调试,结束调试会话,在设计视图和代码视图之间切换,并进行WinForms设计。

Almost anything I do gives an unacceptable long delay, like saving, starting to debug, ending debug session, switching between design and code view, and doing WinForms designing.

我的主目录的某些部分位于映射的网络驱动器上。我怀疑这可能是问题的一部分。可以将VS 2010配置为仅将本地磁盘用于其内部工作吗?

I have some parts of my home directory on a mapped network drive. I suspect that that might be a part of the problem. Is it possible to configure VS 2010 to use exclusively local disk for its "internal" work perhaps?

任何提示将不胜感激!还有其他人遇到过这类问题吗?

Any hints would be appreciated! Has anyone else experienced these kinds of problems?

编辑:
我忘了提供规格:

I forgot to give my specs:


  • Win 7 64位

  • 4 GB内存

  • 没有插件,仅是标准安装

  • 项目文件夹是在网络驱动器上

  • Win 7 64-bit
  • 4 gb memory
  • No addins, just standard installation
  • The project folder is on the network drive

一个有趣的事情是,我认为在运行XP的VM(运行VM的虚拟机)中,我的性能更好在同一台PC上)。

One interesting thing is that I feel that I have better performance in a VM running XP (where the VM runs on the same PC).

推荐答案

如果您执行Microsoft的建议并在项目的本地副本上工作,则VS很棒。
一旦您开始尝试在远程位置打开项目,就会遇到此问题。

VS is great if you do what microsoft recommends and work on a local copy of your projects. As soon as you start tying to open projects in remote locations you will get this issue.

建议:


  1. 使用源代码控制解决方案。

  2. 在本地创建项目的副本并从中运行解决方案。

也...

我认为它在后台确实很聪明,我发现我越用它越快,尤其是在我经常返回的长期运行的项目上。

I think it does it's clever stuff in the background, I found the more i use it the faster it gets, especially on long running projects that I regularly go back to.

如果您认为这可能是前面提到的WPF框架,则可以尝试关闭aero(作为测试),如果这样做有帮助,则可能是您选择的图形硬件不是很好。效果或基于3D的输出,因此很麻烦。

If you think it might be aformentioned WPF framework you may want to try switching off aero (as a test) if it helps the problem is likely that your chosen graphics hardware is not very good at effect or 3D based output so it's struggling.

也请尝试减少正在运行的后台服务和应用程序的数量。

Also try reducing the number of background services and apps you have running.

这几天在Windows 7上4 GB的ram被认为是标准的,因此,尽管它应该表现良好,但如果您要处理大型数据集/类似的业务应用程序,则可以考虑添加更多的ram。

on windows 7 these days 4 gigs of ram is considered standard, so whilst it should perform fine maybe consider putting more ram in if you are trying to handle large datasets / similar business applications.

否您可以尝试的另一种方法是在现有设备的顶部进行修复安装,它可能尚未干净地安装了某些设备……不太可能,但可能会有所帮助。

Another thing you could try is run a repair install over the top of your existing, it may not have cleanly installed something ... unlikely but it may help.

这篇关于VS 2010非常慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆