没有足够的存储空间来完成此操作Visual Studio 2008中的错误 [英] Not enough storage is available to complete this operation Error in Visual Studio 2008

查看:63
本文介绍了没有足够的存储空间来完成此操作Visual Studio 2008中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在.Net Windows中构建一个项目。项目是如此之大,但它是解决方案中的单个项目。有时它会给出错误没有足够的存储空间来完成此操作。我已经在Google上搜索了解决方案并获得了改变虚拟内存大小但是它根本不起作用,重启视觉工作室后这个错误就消失了。



我发现从VS命令提示符运行命令的另一个解决方案.....从开始>节目> Microsoft Visual Studio 2008> Visual Studio工具> Visual Studio命令提示符并运行命令 editbin / LARGEADDRESSAWARE devenv.exe 但它被赋予 Permision denied错误



它每15-20分钟休息一次。我必须重新启动visual studio来纠正它。



我应该做什么,以免它再次出现。



先谢谢。

Hi,

I am building a project in .Net Windows. Project is so big but it is single project in solution. Sometimes it is giving error "Not enough storage is available to complete this operation". I have already search in Google for solution and get that to change the virtual memory size but then also it do not working at all and this error is vanish after restarting the visual studio.

Another solution I found that to run a command from VS Command Prompt.....from Start > Programmes > Microsoft Visual Studio 2008 > Visual Studio Tools > Visual Studio Command Prompt and run the command editbin /LARGEADDRESSAWARE devenv.exe but it is given Permision denied error.

It comes in every 15-20 min break. and I have to restart visual studio to correct it.

What I should have to do so that it will not come again.

Thanks in advance.

推荐答案

你可以做几件事:

1)增加可用RAM,关闭其他应用程序和/或物理添加内存。

2)在同一解决方案中将项目分解为更小的单位。



就个人而言,我会选择以后的,因为它有很多优点:

1)较小的单位意味着你的项目需要编译的更少,所以你应该得到更快的整体构建。

2)较小的单位意味着您的班级之间更清晰,更正式的互连 - 这也应该改善维护。

3)将来可重用性变得更容易,因为您可以在新的解决方案中引用相关项目。



老实说,如果您的项目已达到编译器开始吱吱作响的地方,然后它就像一个单一的整体对象那样太大了,无论如何都需要分解(或者可能重新设计)!
There are a couple of things you can do:
1) Increase the available RAM, by closing other apps and / or physically adding memory.
2) Break your project into smaller units within the same solution.

Personally, I would go for the later, as it has a number of advantages:
1) Smaller units mean less of your projects need to be compiled at all, so you should get a quicker build overall.
2) Smaller units mean a cleaner, more formal set of interconnections between your classes - this should improve maintenance as well.
3) Reusability becomes easier in future, because you can just reference the relevant project in a new solution.

To be honest, if your project has reached the point where the compiler has started creaking, then it is way, way too big as a single monolithic object and needs to be broken up (or possibly redesigned) anyway!


这篇关于没有足够的存储空间来完成此操作Visual Studio 2008中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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