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 (預設)
4 GB 並設定IMAGE_FILE_LARGE_ADDRESS_AWARE
每個 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: 最多 128 GB 的 RAM 75%
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: 僅限核心模式虛擬位址空間所限制。 從 Windows Vista SP1 開始,系統快取虛擬位址空間也可以受限於 SystemCacheLimit 登錄機碼值。
Windows Home Server、Windows Server 2003 和 Windows XP: 已設定 LargeSystemCache 登錄機碼且不含 4GT 的 860 MB;最多 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 Home 128 GB
128 GB

實體記憶體限制:Windows 10

下表指定Windows 10實體記憶體的限制。

版本 X86 的限制 X64 的限制
Windows 10 Enterprise 4 GB
6 TB
Windows 10 教育版 4 GB
2 TB
Windows 10 工作站專業版 4 GB
6 TB
Windows 10 Pro 4 GB
2 TB
Windows 10 Home 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 Workgroup 32 GB
Windows Storage Server 2012 Standard 4 TB
Hyper-V Server 2012 4 TB

 

實體記憶體限制:Windows 7

下表指定 Windows 7 實體記憶體的限制。

版本 X86 的限制 X64 的限制
Windows 7 旗艦版 4 GB
192 GB
Windows 7 Enterprise 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
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 型系統的 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 Enterprise 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 Enterprise 4 GB
128 GB
Windows Vista Business 4 GB
128 GB
Windows Vista Home Premium 4 GB
16 GB
Windows Vista Home Basic 4 GB
8 GB
Windows Vista Starter 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 Service Pack 2 (SP2) Datacenter Edition
64 GB
(16 GB 搭配 4GT)
1 TB
2 TB
Windows Server 2003 Service Pack 2 (SP2) ,Enterprise Edition
64 GB
(16 GB 搭配 4GT)
1 TB
2 TB
Windows Server 2003 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) ,Enterprise Edition
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, Enterprise Edition
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 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 磁碟。

4 GB 微調

IMAGE_FILE_LARGE_ADDRESS_AWARE

實體位址擴充功能