Windows 和 Windows Server 版本的内存限制

本主题介绍支持的Windows和Windows服务器版本的内存限制。

内存和地址空间的限制因平台、操作系统以及LOADED_IMAGE结构和 4 GB 优化 (4GT) 的IMAGE_FILE_LARGE_ADDRESS_AWARE值而异。 使用/LARGEADDRESSAWARE 链接器选项设置或清除IMAGE_FILE_LARGE_ADDRESS_AWARE。

4 GB 优化 (4GT) (也称为应用程序内存优化)或 /3GB 交换机是一种技术, (仅适用于 32 位系统,) 更改用户模式应用程序可用的虚拟地址空间量。 启用此技术可减少系统虚拟地址空间的总体大小,因此系统资源最大。 有关详细信息,请参阅 什么是 4GT

32 位平台的物理内存限制还取决于物理地址扩展 (PAE) ,这允许 32 位Windows系统使用超过 4 GB 的物理内存。

内存和地址空间限制

下表指定Windows支持的版本的内存和地址空间限制。 除非另有说明,否则此表中的限制适用于所有受支持的版本。

内存类型 X86 的限制 64 位Windows的限制
每个 32 位进程的用户模式虚拟地址空间
2 GB
最多 3 GB,具有 IMAGE_FILE_LARGE_ADDRESS_AWARE 和 4GT
2 GB,IMAGE_FILE_LARGE_ADDRESS_AWARE 清除默认 ()
具有 IMAGE_FILE_LARGE_ADDRESS_AWARE 集的 4 GB
每个 64 位进程的用户模式虚拟地址空间
不适用
设置 ( 默认) IMAGE_FILE_LARGE_ADDRESS_AWARE:
x64:Windows 8.1和Windows Server 2012 R2 或更高版本:128 TB
x64:Windows 8和Windows Server 2012或更早 8 TB
基于 Intel Itanium 的系统: 7 TB

2 GB,清除了IMAGE_FILE_LARGE_ADDRESS_AWARE
内核模式虚拟地址空间
2 GB
从 1 GB 到最多 2 GB,4GT
Windows 8.1和 Windows Server 2012 R2 或更高版本:128 TB
Windows 8和Windows Server 2012或更早 8 TB
分页池
384 GB 或系统提交限制,以较小者为准。 Windows 8.1和Windows Server 2012 R2:15.5 TB 或系统提交限制,以较小者为准。
Windows Server 2008 R2、Windows 7、Windows Server 2008 和 Windows Vista:受可用内核模式虚拟地址空间的限制。 从 Service Pack 1 (SP1) Windows Vista 开始,分页池也可以受 PagedPoolLimit 注册表项值的限制。
Windows主服务器和 Windows Server 2003:530 MB
Windows XP:490 MB

384 GB 或系统提交限制,以较小的Windows 8.1和Windows Server 2012 R2:15.5 TB 或系统提交限制(以较小者为准)。
Windows Server 2008 R2、Windows 7、Windows Server 2008 和 Windows Vista:128 GB 或系统提交限制(以较小者为准)
Windows Server 2003 和 Windows XP:根据配置和 RAM,最多 128 GB。

非分页池
75% 的 RAM 或 2 GB(以较小者为准)。 Windows 8.1和Windows Server 2012 R2:RAM 或 16 TB,以较小的 (地址空间限制为 2 x RAM) 。
Windows Vista:仅受内核模式虚拟地址空间和物理内存的限制。 从 SP1 Windows Vista 开始,非分页池也可以受 NonPagedPoolLimit 注册表项值的限制。
Windows主服务器、Windows Server 2003 和 Windows XP:256 MB 或 128 MB(具有 4GT)。

RAM 或 128 GB,无论哪个地址空间较小, (地址空间限制为 2 x RAM) Windows 8.1和 Windows Server 2012 R2:RAM 或 16 TB,无论哪个地址空间较小, (地址空间限制为 2 x RAM) 。
Windows Server 2008 R2、Windows 7 和 Windows Server 2008:75% 的 RAM 最大为 128 GB
Windows Vista:40% 的 RAM 最大为 128 GB。
Windows Server 2003 和 Windows XP:根据配置和 RAM,最多 128 GB。

系统缓存虚拟地址空间 (物理大小仅受物理内存限制)
受可用内核模式虚拟地址空间或 SystemCacheLimit 注册表项值的限制。
Windows 8.1和Windows Server 2012 R2:16 TB。
Windows Vista:仅受内核模式虚拟地址空间的限制。 从 SP1 Windows Vista 开始,系统缓存虚拟地址空间也可以受 SystemCacheLimit 注册表项值的限制。
Windows主服务器、Windows Server 2003 和 Windows XP:860 MB 且具有 LargeSystemCache 注册表项,且没有 4GT;最大为 448 MB 且具有 4GT。

无论物理 RAM Windows 8.1和 Windows Server 2012 R2:16 TB,始终为 1 TB。
Windows Server 2003 和 Windows XP:根据配置和 RAM,最多 1 TB。

物理内存限制:Windows 11

下表指定对Windows 11的物理内存的限制。

版本 X64 的限制 ARM64 的限制
Windows 11 企业版 6 TB
6 TB
Windows 11 教育版 2 TB
2 TB
Windows 11 专业工作站版 6 TB
6 TB
Windows 11 专业版 2 TB
2 TB
Windows 11 家庭版 128 GB
128 GB

物理内存限制:Windows 10

下表指定对Windows 10的物理内存的限制。

版本 X86 的限制 X64 的限制
Windows 10 企业版 4 GB
6 TB
Windows 10 教育版 4 GB
2 TB
Windows 10 专业工作站版 4 GB
6 TB
Windows 10 专业版 4 GB
2 TB
Windows 10 家庭版 4 GB
128 GB

 

物理内存限制:Windows Server 2016

下表指定对Windows Server 2016的物理内存的限制。

版本 X64 的限制
Windows Server 2016 Datacenter 24 TB
Windows Server 2016 标准版 24 TB

 

物理内存限制:Windows 8

下表指定对Windows 8的物理内存的限制。

版本 X86 的限制 X64 的限制
Windows 8 企业版 4 GB
512 GB
Windows 8 专业版 4 GB
512 GB
Windows 8 4 GB
128 GB

 

物理内存限制:Windows Server 2012

下表指定对Windows Server 2012的物理内存的限制。 Windows Server 2012仅在 X64 版本中可用。

版本 X64 的限制
Windows Server 2012 Datacenter 4 TB
Windows Server 2012 Standard 4 TB
Windows Server 2012 Essentials 64 GB
Windows Server 2012 Foundation 32 GB
Windows Storage Server 2012 Workgroup 32 GB
Windows Storage Server 2012 Standard 4 TB
Hyper-V Server 2012 4 TB

 

物理内存限制:Windows 7

下表指定了对 Windows 7 的物理内存的限制。

版本 X86 的限制 X64 的限制
Windows 7 Ultimate 4 GB
192 GB
Windows 7 企业版 4 GB
192 GB
Windows 7 Professional 4 GB
192 GB
Windows 7 家庭高级版 4 GB
16 GB
Windows 7 家庭普通版 4 GB
8 GB
Windows 7 简易版 2 GB
空值

 

物理内存限制:Windows Server 2008 R2

下表指定 Windows Server 2008 R2 的物理内存限制。 Windows Server 2008 R2 仅在 64 位版本中可用。

版本 X64 的限制 限制为 IA64
Windows Server 2008 R2 Datacenter 2 TB
Windows Server 2008 R2 企业版 2 TB
Windows Server 2008 R2 for Itanium-Based Systems 2 TB
Windows Server 2008 R2 Foundation 8 GB
Windows Server 2008 R2 标准版 32 GB
Windows HPC Server 2008 R2 128 GB
Windows Web Server 2008 R2 32 GB

 

物理内存限制:Windows Server 2008

下表指定 Windows Server 2008 的物理内存限制。 对于 32 位Windows,限制大于 4 GB,则假定已启用 PAE

版本 X86 的限制 X64 的限制 限制为 IA64
Windows Server 2008 Datacenter 64 GB
1 TB
Windows Server 2008 企业版 64 GB
1 TB
Windows Server 2008 HPC Edition 128 GB
Windows Server 2008 标准版 4 GB
32 GB
面向基于 Itanium 系统的 Windows Server 2008 2 TB
Windows Small Business Server 2008 4 GB
32 GB
Windows Web Server 2008 4 GB
32 GB

 

物理内存限制:Windows Vista

下表指定了 Windows Vista 的物理内存限制。

版本 X86 的限制 X64 的限制
Windows Vista 旗舰版 4 GB
128 GB
Windows Vista 企业版 4 GB
128 GB
Windows Vista 商用版 4 GB
128 GB
Windows Vista Home Premium 4 GB
16 GB
Windows Vista Home Basic 4 GB
8 GB
Windows Vista Starter 1GB

 

物理内存限制:Windows主服务器

Windows主服务器仅在 32 位版本中可用。 物理内存限制为 4 GB。

物理内存限制:Windows Server 2003 R2

下表指定 Windows Server 2003 R2 的物理内存限制。 32 位Windows限制超过 4 GB,假定已启用 PAE

版本 X86 的限制 X64 的限制
Windows Server 2003 R2 Datacenter Edition
64 GB
使用 4GT) (16 GB
1 TB
Windows Server 2003 R2 Enterprise Edition
64 GB
使用 4GT) (16 GB
1 TB
Windows Server 2003 R2 Standard Edition
4 GB
32 GB

 

物理内存限制:使用 Service Pack 2 (SP2) Windows Server 2003

下表指定了 service Pack 2 (SP2) Windows Server 2003 的物理内存限制。 32 位Windows限制超过 4 GB,假定已启用 PAE

版本 X86 的限制 X64 的限制 IA64 的限制
具有 Service Pack 2 (SP2) Datacenter Edition 的 Windows Server 2003
64 GB
使用 4GT) (16 GB
1 TB
2 TB
Windows Server 2003 和 Service Pack 2 (SP2) ,Enterprise Edition
64 GB
使用 4GT) (16 GB
1 TB
2 TB
使用 Service Pack 2 (SP2) Windows Server 2003 Standard Edition
4 GB
32 GB

 

物理内存限制:使用 Service Pack 1 (SP1) Windows Server 2003

下表指定了 service Pack 1 (SP1) Windows Server 2003 的物理内存限制。 32 位Windows限制超过 4 GB,假定已启用 PAE

版本 X86 的限制 X64 的限制 IA64 的限制
使用 Service Pack 1 (SP1) Datacenter Edition Windows Server 2003
64 GB
使用 4GT) (16 GB
1 TB
1 TB
具有 Service Pack 1 (SP1) 的 Windows Server 2003 Enterprise Edition
64 GB
使用 4GT) (16 GB
1 TB
1 TB
使用 Service Pack 1 (SP1) Windows Server 2003 Standard Edition
4 GB
32 GB

 

物理内存限制:Windows Server 2003

下表指定 Windows Server 2003 的物理内存限制。 32 位Windows限制超过 4 GB,假定已启用 PAE

版本 X86 的限制 IA64 的限制
Windows Server 2003 Datacenter Edition
64 GB
使用 4GT) (16 GB
512 GB
Windows Server 2003 Enterprise Edition
64 GB
使用 4GT) (16 GB
512 GB
Windows Server 2003 Standard Edition
4 GB
Windows Server 2003,Web 版本
2 GB
Windows Small Business Server 2003
4 GB
Windows Compute Cluster Server 2003
32 GB
Windows 存储 Server 2003,Enterprise Edition
8 GB
Windows Storage Server 2003
4 GB

 

物理内存限制:Windows XP

下表指定Windows XP 的物理内存限制。

版本 X86 的限制 X64 的限制 IA64 的限制
Windows XP 4 GB
128 GB
不支持 128 GB ()
Windows XP Starter Edition 512 MB
空值
空值

 

物理内存限制:Windows Embedded

下表指定 Windows Embedded 的物理内存限制。

版本 X86 的限制 X64 的限制
Windows XP Embedded
4 GB
Windows Embedded Standard 2009
4 GB
Windows Embedded Standard 7
4 GB
192 GB

 

图形卡和其他设备如何影响内存限制

设备必须将其内存映射到 4 GB 以下,以便与非 PAE 感知Windows版本兼容。 因此,如果系统具有 4GB RAM,则其中一些 RAM 已禁用,或者被 BIOS 重新映射在 4GB 以上。 如果重新映射内存,X64 Windows可以使用此内存。 X86 客户端版本的Windows不支持超过 4GB 标记的物理内存,因此它们无法访问这些重新映射的区域。 任何 X64 Windows 或 X86 服务器版本都可以。

启用了 PAE 的 X86 客户端版本具有可用 37 位 (128 GB) 物理地址空间。 这些版本施加的限制是允许的最大物理 RAM 地址,而不是 IO 空间的大小。 这意味着,如果需要,PAE 感知驱动程序实际上可以使用超过 4 GB 的物理空间。 例如,驱动程序可以映射位于 4 GB 以上的“丢失”内存区域,并将此内存公开为 RAM 磁盘。

4 GB 优化

IMAGE_FILE_LARGE_ADDRESS_AWARE

物理地址扩展