开发者

vs 2010 increase memory

How can I start always Visual Studio 2010 with the 3g memory limit, i.e. like with this:开发者_StackOverflow

bcdedit /set increaseuserva 3072


"How can I get the operating system started" would be the more typical question these days. Video adapters eat up too much physical address space for this option to still work. Get a 64-bit operating system and you'll have 4 gigabytes. And editbin.exe /largeaddressaware on devenv.exe. It voids the warranty I imagine.


Once you set that limit, it is system-wide. It (your whole system) will always start with that limit. However, remember that while you use .NET, each single object cannot exceed 2GB.

For applications to work above the 2GB border, it is necessary that they have been compiled with the /LARGEADDRESSAWARE flag. Not sure if that flag was used for compiling Visual Studio itself, nor for the .NET Framework. If not, your system as a whole can consume more than 2GB, but applications that do not have that flag set, including Visual Studio, cannot exceed that limit for their own address space.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜