Visual Studio 2010内存消耗

发布于 2024-11-19 16:35:09 字数 226 浏览 0 评论 0原文

我的 Visual Studio 2010 遇到问题,当应用程序打开时,其内存消耗快速增加。我卸载了所有插件,现在只有干净版本。但是,当我打开解决方案时,内存从 ~300K 增加到 1GB,如果它没有崩溃,我需要终止该进程。 VS的版本很专业,针对不同的解决方案都会出现这种情况。

我觉得这可能是由于 VS2010 配置文件的锁定占用了内存,但这只是一个猜测。

有人有类似的问题吗?或者我如何找到问题所在?

I am having problems with my visual studio 2010 where its memory consumption increases quickly while the application is open. I unistalled all plug ins and now just have the clean version. But while I have the solution open, the memory increases from ~300K to 1GB to such a point if it hasnt crashed, I need to kill the process. The version of the VS is professional and it happens for different solutions.

I feel it may down to the locking on VS2010 config files eating in to memory but thats a guess.

Anyone have similar issues or how I might go about finding what the issues is?

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

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

发布评论

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

评论(3

走过海棠暮 2024-11-26 16:35:09

我在使用大型解决方案时遇到了完全相同的问题。尝试一下这个插件,解决方案负载管理器,它可以让您本质上,您的解决方案中的项目是“延迟加载”项目,因此您只有那些在开放和消耗内存中积极工作的项目。

为我创造了奇迹。

I was having the exact same problem working with large solutions. Give this plugin a try, Solution Load Manager, it lets you essentially "lazy load" projects in your solution, so you only have the ones you're actively working in open and consuming memory.

Worked wonders for me.

邮友 2024-11-26 16:35:09

我同意蒂克斯的观点。没见过这样的问题。我的工作室徘徊在 300MB 左右,但我现在打开的解决方案中有 10 个类库和 11 个 Web 应用程序项目。

我会说打开视觉工作室,启动一个全新的空白.net 解决方案并让它静置。如果内存跳至 1GB,则执行完全卸载 ( http://archive.msdn.microsoft.com/ vs2010uninstall )并从头开始重新安装。如果它继续在空白解决方案上表现出这种行为,那么我建议从机器上擦除操作系统,因为其他东西确实是错误的。

如果内存没有增加,则创建一个空白解决方案并慢慢将您的项目添加到其中,直到出现问题。修复显示该行为的项目。

当然,如果您有大量项目或正在执行一些第三方代码,那么 1GB RAM 可能正是它所需要的。我知道 Telerik 的东西会在您单击每个项目时检查它,以确定它是否具有最新版本的控件...我猜其他人也会做类似的事情。

I agree with Tipx. Never seen such an issue. My studio hovers around 300MB, but the solution I have open right now has 10 class libraries and 11 web application projects in it.

I'd say open visual studio, start a brand new blank .net solution and let it sit. If it's memory jumps to 1GB, then do a complete uninstall ( http://archive.msdn.microsoft.com/vs2010uninstall ) and reinstall it from the ground up. If it continues exhibiting the behavior on a blank solution then I'd suggest wiping the OS from the machine because something else is really wrong.

If it's memory doesn't climb, then create a blank solution and slowly add your projects into it until something happens. Fix the project showing the behavior.

Of course, if you have a large number of projects OR some third party code is executing on them then 1GB of RAM might be exactly what it needs. I know Telerik's stuff will inspect each project as you click on it to determine if it has the latest version of the controls... I'm guessing others will do something similar.

不乱于心 2024-11-26 16:35:09
  1. 创建新目录
  2. 将项目文件移动到新目录(没有 slnsou 文件)
  3. 从新位置打开项目

仅此而已。

  1. Create new directory
  2. Move project files new directory (without sln and sou files)
  3. Open project from new location

that's all.

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