Visual Studio 2010 (devenv) 关闭后进程挂起

发布于 2024-12-17 06:35:48 字数 311 浏览 2 评论 0原文

我在 Windows 7 64 位上使用 Visual Studio 2010 时遇到问题。经过一段时间的工作后,VS 开始消耗约 50% 的 CPU,并且 UI 响应速度变慢。当我关闭 VS 时,UI 消失,但进程保持不变。

当我忘记在一天结束时杀死那些挂起的进程时,我最终会得到许多 devenv.exe 进程。

我重新安装了 Visual Studio 并重新安装了 Windows,最终遇到了同样的问题...没有任何改变。请帮忙。 :/

devenv

I have problem with Visual Studio 2010 on Windows 7 64-bit. After some time of work VS starts consuming ~50% CPU and UI responding slows down. When I close VS then UI disappear but process stay.

When I forgot to kill those hung processes at the end of day, I will end up with numerous devenv.exe processes.

I have reinstall Visual Studio and reinstall Windows and ended up with the same problem... doesn't change anything. Please help. :/

devenv

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

心凉怎暖 2024-12-24 06:35:48

删除和/或卸载所有第三方 Visual Studio 加载项和扩展。禁用还不够好。

Visual Studio 2010 严重依赖图形。因此:

  • 更新您的视频驱动程序。
  • 关闭“启用富客户端视觉效果”
    体验“
  • 关闭”使用硬件图形加速如果
    可用”

还有 Visual Studio 使用的临时文件可能需要清除。

  • 清除 %temp% 文件夹。
  • 清除 %AppData%\Local\Microsoft\WebsiteCache
  • 清除 %AppData%\Local\Microsoft\VisualStudio\ 10.0\ProjectAssemblies

您的项目和解决方案用户设置可能会由于多次“崩溃”而损坏。

  • 删除 .user 和 .suo 文件(您将丢失启动项目、书签、断点和其他用户设置)。具体到项目和解决方案。)

Remove and/or uninstall all third-party Visual Studio add-ins and extensions. Disabling is not good enough.

Visual Studio 2010 relies heavily on graphics. Therefore:

  • Update your video driver.
  • Turn off "Enable rich client visual
    experience"
  • Turn off "Use Hardware graphics acceleration if
    available"

There are also temporary files that Visual Studio uses that may need to be cleared out.

  • Clear out your %temp% folder.
  • Clear out %AppData%\Local\Microsoft\WebsiteCache
  • Clear out %AppData%\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies

Your project and solution user settings may be corrupt due to so many "crashes".

  • Delete .user and .suo files (you will lose the startup project, bookmarks, breakpoints, and other user settings specific to projects and solutions.)
忆伤 2024-12-24 06:35:48

从之前开始的地方开始 - 这可能看起来有些过分,但这是确保我们解决除硬件问题之外的所有问题的唯一方法。


  1. 重新安装 Windows - 确保您使用的是有效许可的副本,并在安装 Visual Studio 之前对其进行修补。

    注意:我怀疑这是 GPU 驱动程序问题,但使用最新的驱动程序总不会有什么坏处,而且这是在安装全新操作系统后立即执行此操作的地方。 p>

  2. 安装 Visual Studio .Net 2010 但不启动。让它重新安装框架。

  3. 使用 Windows Update 安装 VS 2010 SP1 补丁以及.Net 框架的任何/所有补丁。

    在这里为自己制作一个图像,以便在您需要再次尝试时可以从中构建一些东西。这将为您节省大量时间。

  4. 启动 Visual Studio,并在安装其他任何内容之前测试您的关闭

如果它在这里不起作用,则 PC 硬件和 Windows 操作系统之间可能存在一些冲突,您应该尝试在其他应用程序中找到此症状以获取更多信息。

Begin where you began before - it may seem overkill but this is the only way to be sure we are addressing everything short of hardware issues.


  1. Reinstall Windows - make sure you are using a validly licensed copy, and patch the hell out of it before installing Visual Studio.

    Note: I doubt it is a GPU driver issue, but it never hurts to use the most up to date driver and this is the place to do it right after a fresh OS install.

  2. Install Visual Studio .Net 2010 but do not start it up. Let it get the frameworks installed fresh.

  3. Use Windows Update to install the VS 2010 SP1 patch, and any/all patches for .Net frameworks.

    Make an images for yourself right here so you have something to build from if you need to try this again. It will save you lots of time.

  4. Fire up Visual Studio, and test your closing before installing anything else.

If it does not work here, there's likely some conflict between PC hardware and window OS, and you should try to find this symptom in other applications to get more info.

烟织青萝梦 2024-12-24 06:35:48

这就是我要寻找的:

  1. 它每次都会发生吗?
  2. 你调试项目后会出现这种情况吗?所有项目都会发生这种情况吗?
  3. 当你不加载任何项目时也会发生这种情况吗? (只需启动 IDE 并等待)。
  4. 它是在应用程序的调试会话后发生的吗?也许应用程序没有正确关闭?
  5. 您是否同时运行任何其他应用程序可能会导致此问题?尝试在运行最少的应用程序/服务的情况下进行复制。
  6. 天开始结冰的时候你在做什么?有什么特别的吗?

我会尝试在挂起时获取 2-3 个内存转储,将其发布到此处以及 MSFT 人员。这将是一个好的开始。

Here's what i would be looking for:

  1. Does it happen EVERY TIME?
  2. Does it happen after you debug your project ? does it happen for ALL projects?
  3. Does it also happen when you don't load any projects? (simply start the IDE and wait).
  4. Does it happen after a debug session of your application? maybe the application is not closed properly?
  5. Do you have any other apps running at the same time that may cause this? try reproducing with a minimal set of apps/services running.
  6. What are you doing exactly when it starts freezing ? anything in particular?

I would try to get 2-3 memory dumps at the time of hanging, post it here as well as to MSFT people. That would be a good start.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文