Limites de memória – 32 bits vs 64 bits

Como temos vindo a discutir em alguns posts anteriores sobre gestão de memoria, existem alguns constrangimentos, limites, que levam ao esgotamento de recursos e consequente falha do sistema. Neste post vamos abordar os limites das diferentes arquitecturas de processadores bem como os limites máximos de memória física suportados pelos vários sistemas operativos Microsoft.

Os limites de memoria e espaço de endereçamento variam principalmente consoante a plataforma e sistema operativo em uso. No entanto, e como tínhamos visto num dos posts anteriores, a flag IMAGE_FILE_LARGE_ADDRESS_AWARE (definida no header das aplicações pelo link /LARGEADDRESSAWARE) também altera o limite de endereçamento.

Os limites de memória física em plataformas 32 bits também dependem da extensão PAE, que vai permitir usarem mais de 4GB de memoria física.

Limites de Memoria Física e espaço de endereçamento:

Tipo de memoria 32-bit Windows

64-bit Windows

User-mode virtual address space for each 32-bit process

2 GB

Up to 3 GB with IMAGE_FILE_LARGE_ADDRESS_AWARE and 4GT

2 GB with IMAGE_FILE_LARGE_ADDRESS_AWARE cleared (default)

4 GB with IMAGE_FILE_LARGE_ADDRESS_AWARE set

User-mode virtual address space for each 64-bit process

Not applicable

With IMAGE_FILE_LARGE_ADDRESS_AWARE set (default):

 

x64:   8 TB
Intel IPF:   7 TB

2 GB with IMAGE_FILE_LARGE_ADDRESS_AWARE cleared

Kernel-mode virtual address space

2 GB

From 1 GB to a maximum of 2 GB with 4GT

8 TB

Paged pool

Limited by available kernel-mode virtual address space or the PagedPoolLimit registry key value.

Windows Vista:   Limited only by kernel mode virtual address space. Starting with Windows Vista with Service Pack 1 (SP1), the paged pool can also be limited by the PagedPoolLimit registry key value.
Windows Home Server and Windows Server 2003:   530 MB
Windows XP:   490 MB
Windows 2000:   350 MB

128 GB

Windows Server 2003 and Windows XP:   Up to 128 GB depending on configuration and RAM.
Windows 2000:   Not applicable

Nonpaged pool

Limited by available kernel-mode virtual address space, the NonPagedPoolLimit registry key value, or physical memory.

Windows Vista:   Limited only by kernel mode virtual address space and physical memory. Starting with Windows Vista with SP1, the nonpaged pool can also be limited by the NonPagedPoolLimit registry key value.
Windows Home Server, Windows Server 2003, and Windows XP/2000:   256 MB, or 128 MB with 4GT.

75% of RAM up to a maximum of 128 GB

Windows Vista:   40% of RAM up to a maximum of 128 GB.
Windows Server 2003 and Windows XP:   Up to 128 GB depending on configuration and RAM.
Windows 2000:   Not applicable

System cache virtual address space (physical size limited only by physical memory)

Limited by available kernel-mode virtual address space or the SystemCacheLimit registry key value.

 

Windows Vista:   Limited only by kernel mode virtual address space. Starting with Windows Vista with SP1, system cache virtual address space can also be limited by the SystemCacheLimit registry key value.
Windows Home Server, Windows Server 2003, and Windows XP/2000:   860 MB with LargeSystemCache registry key set and without 4GT; up to 448 MB with 4GT.

Always 1 TB regardless of physical RAM

Windows Server 2003 and Windows XP:   Up to 1 TB depending on configuration and RAM.
Windows 2000:   Not applicable

 

Limites de memória física das várias versões Windows

Limite de memória física: Windows 7

Version 32-bit Windows 64-bit Windows

Windows 7 Ultimate

4 GB

192 GB

Windows 7 Enterprise

4 GB

192 GB

Windows 7 Professional

4 GB

192 GB

Windows 7 Home Premium

4 GB

16 GB

Windows 7 Home Basic

4 GB

8 GB

Windows 7 Starter

2 GB

2 GB

Limite de memória física: Windows Server 2008 R2

O Windows Server 2008 R2 apenas está disponível na versão 64-bits

Version 64-bit Windows

Windows Server 2008 R2 Datacenter

2 TB

Windows Server 2008 R2 Enterprise

2 TB

Windows Server 2008 R2 for Itanium-Based Systems

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

Limite de memória física: Windows Server 2008

Na versão 32 bits, limites > que 4 GB assumimos que o PAE está activo.

Version 32-bit 64-bit

Windows Server 2008 Datacenter

64 GB

2 TB

Windows Server 2008 Enterprise

64 GB

2 TB

Windows Server 2008 HPC Edition

Não se aplica

128 GB

Windows Server 2008 Standard

4 GB

32 GB

Windows Server 2008 for Itanium-Based Systems

Não se aplica

2 TB

Windows Small Business Server 2008

4 GB

32 GB

Windows Web Server 2008

4 GB

32 GB

Limite de memória física: Windows Vista

Version 32-bit 64-bit

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

Não se aplica

Limite de memória física: Windows Home Server

O Windows Home Server está disponível apenas versão 32-bits e o limite físico é de 4 GB.

Limite de memória física: Windows Server 2003

Na versão 32 bits, limites > que 4 GB assumimos que o PAE está activo.

Versão 32-bit 64-bit

Windows Server 2003 with Service Pack 2 (SP2), Datacenter Edition

128 GB

64 GB with 4GT

2 TB

Windows Server 2003 with Service Pack 2 (SP2), Enterprise Edition

64 GB

2 TB

Windows Storage Server 2003, Enterprise Edition

8 GB

Não se aplica

Windows Storage Server 2003

4 GB

Não se aplica

Windows Server 2003 R2 Datacenter Edition

Windows Server 2003 with Service Pack 1 (SP1), Datacenter Edition

128 GB

16 GB with 4GT

1 TB

Windows Server 2003 R2 Enterprise Edition

Windows Server 2003 with Service Pack 1 (SP1), Enterprise Edition

64 GB

16 GB with 4GT

1 TB

Windows Server 2003 R2 Standard Edition

Windows Server 2003, Standard Edition SP1

Windows Server 2003, Standard Edition SP2

4 GB

32 GB

Windows Server 2003, Datacenter Edition

128 GB

16 GB with 4GT

512 GB

Windows Server 2003, Enterprise Edition

32 GB

16 GB with 4GT

64 GB

Windows Server 2003, Standard Edition

4 GB

16 GB

Windows Server 2003, Web Edition

2 GB

Não se aplica

Windows Small Business Server 2003

4 GB

Não se aplica

Windows Compute Cluster Server 2003

Não se aplica

32 GB

Limite de memória física: Windows XP

Versão 32-bit Windows 64-bit Windows

Windows XP

4 GB

128 GB

Windows XP Starter Edition

512 MB

Não se aplica

Limite de memória física: Windows 2000

Versão 32-bit Windows

Windows 2000 Professional

4 GB

Windows 2000 Server

4 GB

Windows 2000 Advanced Server

8 GB

Windows 2000 Datacenter Server

32 GB

Coloquem este post nos vossos favoritos para consulta rápida sempre que surgir uma duvida sobre o limite de memoria de um determinado OS, pois penso que poderá ser útil.

Numa próxima oportunidade iremos abordar com detalhe alguns tópicos que hoje aqui foram referenciados, como o 4GT,PAE e o IMAGE_FILE_LARGE_ADDRESS_AWARE.

AL