本文介绍了在64位操作系统上,32位进程可以访问多少内存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows上,通常情况下,一个32位进程只能访问2GB的RAM(或者在boot.ini文件中带有特殊开关的情况下可以访问3GB).在64位操作系统上运行32位进程时,有多少可用内存?是否有任何特殊的开关或设置可以更改此设置?

On Windows, under normal circumstances a 32 bit process can only access 2GB of RAM (or 3GB with a special switch in the boot.ini file). When running a 32 bit process on a 64 bit operating system, how much memory is available? Are there any special switches or settings that can change this?

推荐答案

默认为2 GB.如果应用程序知道大地址空间(与/LARGEADDRESSAWARE链接),它将获得4 GB(而不是3 GB),请参阅 http://msdn.microsoft.com/en-us/library/aa366778.aspx )

2 GB by default. If the application is large address space aware (linked with /LARGEADDRESSAWARE), it gets 4 GB (not 3 GB, see http://msdn.microsoft.com/en-us/library/aa366778.aspx)

由于许多应用程序都将指针的最高位设置为零,因此它们仍限于2 GB.

They're still limited to 2 GB since many application depends on the top bit of pointers to be zero.

这篇关于在64位操作系统上,32位进程可以访问多少内存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 07:21