Windows 和 Windows Server 版本的記憶體限制
本主題描述支援的 Windows 和 Windows Server 版本的記憶體限制。
記憶體和地址空間的限制會因平臺、作系統,以及 LOADED_IMAGE 結構和 4 GB 微調 (4GT) 的 IMAGE_FILE_LARGE_ADDRESS_AWARE 值在使用中而有所不同。 IMAGE_FILE_LARGE_ADDRESS_AWARE 是使用 /LARGEADDRESSAWARE 連結器選項來設定或清除。
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 |
清除 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: 受可用內核模式虛擬位址空間限制。 從 Windows Vista Service Pack 1 (SP1)開始,分頁集區也可以受限於 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: 僅限核心模式虛擬位址空間和物理記憶體所限制。 從 Windows Vista SP1 開始,非分頁集區也可以受限於 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:最多 128 GB 的 RAM 40%。 Windows Server 2003 和 Windows XP:視設定和 RAM 而定, 最多 128 GB。 |
系統快取虛擬位址空間(僅限物理記憶體限制的實體大小) |
受限於可用的內核模式虛擬位址空間或 SystemCacheLimit 登錄機碼值。 Windows 8.1 和 Windows Server 2012 R2: 16 TB。 Windows Vista: 僅限核心模式虛擬位址空間所限制。 從 Windows Vista SP1 開始,系統快取虛擬位址空間也可以受限於 SystemCacheLimit 登錄機碼值。 Windows Home Server、Windows Server 2003 和 Windows XP: 860 MB 且已設定 LargeSystemCache 登錄機碼,且不含 4GT;最多 448 MB 與 4GT。 |
不論 Windows 8.1 和 Windows Server 2012 R2 的實體 RAM 為何,一律為 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 Enterprise | 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 |
|
Windows Server 2008 for Itanium-Based Systems | 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 Home Basic | 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 with Service Pack 2 (SP2), Enterprise Edition |
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 with Service Pack 1 (SP1), Datacenter Edition |
64 GB (16 GB 與 4GT) |
1 TB |
1 TB |
Windows Server 2003 with Service Pack 1 (SP1), Enterprise Edition |
64 GB (16 GB 與 4GT) |
1 TB |
1 TB |
Windows Server 2003 with 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,Enterprise Edition |
64 GB (16 GB 與 4GT) |
512 GB |
Windows Server 2003,Standard Edition |
4 GB |
|
Windows Server 2003、Web Edition |
2 GB |
|
Windows Small Business Server 2003 |
4 GB |
|
Windows Compute Cluster Server 2003 |
32 GB |
|
Windows Storage 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 |
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 磁碟。
相關主題