Visual Studio在32位Windows Server 2003操作系统上可以使用的最大内存是多少? [英] What is the most memory Visual Studio can use on a 32bit Windows Server 2003 OS?

查看:122
本文介绍了Visual Studio在32位Windows Server 2003操作系统上可以使用的最大内存是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

众所周知,在XP Pro上,整个操作系统只能使用3GB.在32位Windows Server 2003上,限制更高.如果操作系统不施加人为的约束,Visual Studio可以处理和使用多少?

It is well known that on XP Pro the whole OS can only use 3GB. On 32 Bit Windows Server 2003 the limits are higher. How much can visual studio address and use if the OS isn't imposing artificial constraints?

背景.我有4GB,使用Resharper,出现很多内存不足错误,我想知道在此问题上扔更多的硬件是否会有所帮助.

Background. I have 4GB, use Resharper, get lots of out of memory errors and I'm wondering if throwing more hardware at the problem would help.

推荐答案

x86上2 GB,默认情况下

2 Gigabytes on x86 by default

史蒂文·哈曼(Steven Harman)推出了

Steven Harman put out a very useful blog post in 2008 about extending the memory available to Visual Studio to 3 Gigabytes.

问题出在Visual Studio.作为32位应用程序,即使它在64位OS上运行,它也仅限于2 GB的虚拟内存.至少,默认情况下它限制为2GB ...但是我们可以更改它.

The problem is with Visual Studio. Being a 32-bit application it's limited to just 2GB of virtual memory, even if it's running in a 64-bit OS. At least, it's limited to 2GB by default... but we can change that.

因此,扩展它的诀窍是增加用户模式内存量,然后使Visual Studio Large地址知道.

So the trick to extending it is increasing the amount of user-mode memory, and then making Visual Studio Large address aware.

我已经成功完成了3GB的存储.我不知道在达到操作系统限制之前是否存在上限.

I have successfully done this to 3GB. I do not know if there is an upper bound before hitting the OS limit.

这篇关于Visual Studio在32位Windows Server 2003操作系统上可以使用的最大内存是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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