简体   繁体   English

Visual Studio 2008泄漏具有200多个项目的内存构建解决方案

[英]Visual Studio 2008 leaks memory building solution with 200+ projects

It seems that Visual Studio 2008 Professional is leaking memory on my Windows 7 machine. 似乎Visual Studio 2008 Professional泄漏了Windows 7计算机上的内存。 I was wondering if others have experienced this and if so, what solution there might be. 我想知道其他人是否经历过这种情况,如果有的话,会有什么解决方案。

I am working with a large solution, over 200 projects. 我正在使用一个大型解决方案,涉及200多个项目。 (Yes, I know that's a lot.) When I clean and then build the solution, I've noticed that my page table bloats up by about 450 MB or so. (是的,我知道很多。)当我清理然后构建解决方案时,我注意到我的页表膨胀了约450 MB左右。 This memory never goes away until I reboot--shutting down Visual Studio does not make it go away. 直到我重新启动,此内存才不会消失-关闭Visual Studio不会使其消失。 If I do another full clean and build, the page table--not the page file, mind you, the table itself--bloats up by an additional 450 MB. 如果我再进行一次完整的清理和构建,则页面表(而不是页面文件,请注意,表本身)又增加了450 MB的空间。 Pretty soon I reach a point where my page table is 4 or 5 gigs and I have no choice but to reboot. 很快,我的页面表达到了4或5个演出,别无选择,只能重新启动。

Any ideas? 有任何想法吗? Google searches don't turn up much. Google搜索的搜索量不高。

Build is a common scenario in Visual Studio and one that is closely profiled by the team. 生成是Visual Studio中的一种常见场景,并且团队密切关注。 For it to leak 450MB per build, even on 200 projects, is something that should have shown up in internal testing. 对于每个构建,即使在200个项目上也要泄漏450MB,这应该在内部测试中显示出来。 The most likely cause of the leak is any extensions that are installed. 造成泄漏的最可能原因是安装的所有扩展。

Have you tried disabling all extensions and repeating the scenario? 您是否尝试过禁用所有扩展并重复该场景?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM