在Windows上任何一个进程可以解决的最大内存量 [英] The maximum amount of memory any single process on Windows can address

查看:159
本文介绍了在Windows上任何一个进程可以解决的最大内存量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

适用于Windows的内存限制发布回答什么是对Windows中的任何单个进程可以寻址的最大内存量:

Memory Limits for Windows Releases answers what is the maximum amount of memory any single process on Windows can address:

在Windows的32位版本,一个单一的过程地图和在时间解决任何
比虚拟内存3GB以上。在
Windows的64位版本,32位进程可以映射和地址不超过
的虚拟内存4GB的一次。

On 32-bit versions of Windows, a single process can map and address no more than 3GB of virtual memory at time. In 64-bit versions of Windows, a 32-bit process can map and address no more than 4GB of virtual memory at a time.

对于64位的过程中,所述量是难以计算,因为
是可能取决于所有
种因素适用众多重叠限制。它是典型地大约7TB

For 64-bit processes, the amount is difficult to calculate as there are numerous overlapping limits that could apply depending on all kinds of factors. It's typically around 7TB.

我的问题:如何验证值,如3GB,4GB等。

My question: How to verify the values such as "3GB", "4GB" etc?

我们可以写一个C#代码来证明这一点?有没有一种方法呢?

Can we write a C# code to prove it? Is there a method for it?

感谢。

推荐答案

标记Russinovich介绍发表了关于Windows内存资源的一个多系列真正涵盖这很好。你可以在这里找到它:
HTTP://blogs.technet。 COM / b / markrussinovich /存档/ 2008/07/21 / 3092070.aspx

Mark Russinovich published a multipart series on windows memory resources really covers this very well. You can find it here: http://blogs.technet.com/b/markrussinovich/archive/2008/07/21/3092070.aspx

他介绍了为什么限制是他们的原因是什么,以及作为测试。为测试的代码是漂浮在某处管。

He covers the reasons why the limits are what they are, as well as tests. The code for the tests are floating around in the tubes somewhere.

如果您想了解内存资源,你可以从泄漏各类看到的问题,这是。一个良好的阅读

If you want to know about memory resources and the problems you can see from leaking the various types, it is a good read.

不过,概括地说,32位在32位操作系统:2 GB,除非设置为大的地址空间意识到,在这种情况下,3 GB。 32位在64位操作系统:2 GB,除非设置为大的地址空间意识到,在这种情况下,4 GB

But, in a nutshell, 32 bit on 32 bit OS: 2 GB, unless set to large address space aware, in which case 3 GB. 32 bit on 64 bit OS: 2 GB, unless set to large address space aware, in which case 4 GB.

64位进程:2 GB,除非设置为大地址空间意识到,在这种情况下,它可以处理多达8 TB,除非是在基于Intel Itanium的系统,这是仅限于7 TB主办。

64 bit process: 2 GB, unless set to large address space aware, in which case it could address up to 8 TB, unless it is hosted on an Intel Itanium-based systems which is limited to 7 TB.

微软州各种限制(按口味和类型)为:
http://msdn.microsoft.com /en-us/library/aa366778.aspx

Microsoft states the various limits (by flavors and types) at: http://msdn.microsoft.com/en-us/library/aa366778.aspx

这篇关于在Windows上任何一个进程可以解决的最大内存量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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