本主题介绍受支持的 Windows 和 Windows Server 版本的内存限制。
内存和地址空间的限制因平台、作系统以及 LOADED_IMAGE 结构和 4 GB 优化(4GT)的 IMAGE_FILE_LARGE_ADDRESS_AWARE 值而异。 使用 /LARGEADDRESSAWARE 链接器选项设置或清除 IMAGE_FILE_LARGE_ADDRESS_AWARE。
4 千兆字节优化(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 |
清除 IMAGE_FILE_LARGE_ADDRESS_AWARE 2 GB(默认值) 设置 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 清除 IMAGE_FILE_LARGE_ADDRESS_AWARE 2 GB |
内核模式虚拟地址空间 |
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 Home Server 和 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 Home Server、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 Home Server、Windows Server 2003 和 Windows XP: 860 MB,LargeSystemCache 注册表项集且未设置 4GT;最多 448 MB 和 4GT。 |
无论物理 RAM Windows 8.1 和 Windows Server 2012 R2,始终为 1 TB: 16 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 Standard | 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 工作组 | 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 专业版 | 4 GB |
192 GB |
Windows 7 家庭高级版 | 4 GB |
16 GB |
Windows 7 家庭版基本版 | 4 GB |
8 GB |
Windows 7 初学者 | 2 GB |
N/A |
物理内存限制: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 |
|
适用于 Itanium-Based 系统的 Windows Server 2008 R2 | 2 TB |
|
Windows Server 2008 R2 Foundation | 8 GB |
|
Windows Server 2008 R2 Standard | 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 Standard | 4 GB |
32 GB |
|
适用于 Itanium-Based 系统的 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 Ultimate | 4 GB |
128 GB |
Windows Vista 企业版 | 4 GB |
128 GB |
Windows Vista Business | 4 GB |
128 GB |
Windows Vista 家庭高级版 | 4 GB |
16 GB |
Windows Vista 家庭版基本版 | 4 GB |
8 GB |
Windows Vista 初学者 | 1 GB |
物理内存限制:Windows Home Server
Windows Home Server 仅在 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 (16 GB,4GT) |
1 TB |
Windows Server 2003 R2 Enterprise Edition |
64 GB (16 GB,4GT) |
1 TB |
Windows Server 2003 R2 Standard Edition |
4 GB |
32 GB |
物理内存限制:Windows Server 2003 Service Pack 2 (SP2)
下表指定了 Windows Server 2003 Service Pack 2(SP2)的物理内存限制。 32 位 Windows 的限制超过 4 GB,假定已启用 PAE。
版本 | X86 的限制 | X64 的限制 | IA64 的限制 |
---|---|---|---|
Windows Server 2003 with Service Pack 2 (SP2), Datacenter Edition |
64 GB (16 GB,4GT) |
1 TB |
2 TB |
Windows Server 2003 Service Pack 2 (SP2),企业版 |
64 GB (16 GB,4GT) |
1 TB |
2 TB |
Windows Server 2003 with Service Pack 2 (SP2), Standard Edition |
4 GB |
32 GB |
物理内存限制:Windows Server 2003 Service Pack 1 (SP1)
下表指定了 Windows Server 2003 Service Pack 1(SP1)的物理内存限制。 32 位 Windows 的限制超过 4 GB,假定已启用 PAE。
版本 | X86 的限制 | X64 的限制 | IA64 的限制 |
---|---|---|---|
Windows Server 2003 Service Pack 1 (SP1),Datacenter Edition |
64 GB (16 GB,4GT) |
1 TB |
1 TB |
Windows Server 2003 Service Pack 1 (SP1),企业版 |
64 GB (16 GB,4GT) |
1 TB |
1 TB |
Windows Server 2003 Service Pack 1 (SP1),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 (16 GB,4GT) |
512 GB |
Windows Server 2003 企业版 |
64 GB (16 GB,4GT) |
512 GB |
Windows Server 2003 Standard Edition |
4 GB |
|
Windows Server 2003,Web 版本 |
2 GB |
|
Windows Small Business Server 2003 |
4 GB |
|
Windows 计算群集服务器 2003 |
32 GB |
|
Windows Storage Server 2003 企业版 |
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 |
N/A |
N/A |
物理内存限制: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 Server 版本都可以。
启用了 PAE 的 X86 客户端版本具有可用 37 位(128 GB)物理地址空间。 这些版本施加的限制是允许的最大物理 RAM 地址,而不是 IO 空间的大小。 这意味着,如果想要,PAE 感知驱动程序实际上可以使用超过 4 GB 的物理空间。 例如,驱动程序可以映射位于 4 GB 以上的“丢失”内存区域,并将此内存公开为 RAM 磁盘。
相关主题