加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

c# – Visual studio忙着等待内部操作

发布时间:2020-12-15 07:54:31 所属栏目:百科 来源:网络整理
导读:很多时候在调试我的(WinForms)应用程序时遇到断点,Visual Studio会在10-20秒内无响应,我在右下角看到以下消息Visual Studio正忙:Microsoft Visual Studio正在等待内部操作完成.每次发生时,我都会看到Visual Studio Standard Collector正在使用大量的CPU.谁
很多时候在调试我的(WinForms)应用程序时遇到断点,Visual Studio会在10-20秒内无响应,我在右下角看到以下消息Visual Studio正忙:Microsoft Visual Studio正在等待内部操作完成.每次发生时,我都会看到Visual Studio Standard Collector正在使用大量的CPU.谁能告诉我这个标准收藏家是什么,以及是否有办法避免这种情况发生?这是在 Windows 10,VS Community 2015 Update 1上.

解决方法

这是一个已知的错误.

https://connect.microsoft.com/VisualStudio/feedback/details/1630071/visual-studio-standard-collector-unbounded-memory-usage

Posted by Allen [MSFT] on 11/3/2015 at 10:20 AM:
Thank you very much for reporting this. We have researched the root cause and have made a fix that will be provided in VS2015 Update 1. Update 1 is due out in coming weeks.

在您更新之前,Allen建议以下修复:

Meanwhile,if you notice that hte process consumes too much memory you have two ways to recover. Simplest is just to restart your machine. That will get everything back to a fresh state. The other thing you can do to alleviate the memory consumption is to stop the Visual Studio Standard Collector Service using the Service Manager UI.

https://social.msdn.microsoft.com/Forums/en-US/cd1d1c57-fbf0-4076-a708-5e9516f359b1/visual-studio-standard-collector-service-disabled-for-productivity-during-debugging?forum=visualstudiogeneral

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读