Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How much memory can a 32 bit process access on a 64 bit operating system?

On Windows, under normal circumstances a 32 bit process can only access 2GB of RAM (or 3GB with a special switch in the boot.ini file). When running a 32 bit process on a 64 bit operating system, how much memory is available? Are there any special switches or settings that can change this?

like image 471
jjxtra Avatar asked Mar 12 '09 17:03

jjxtra


People also ask

What is the maximum amount RAM for 32 and 64-bit processor?

Memory in 32 and 64-Bit Architectures In terms of Random Access Memory, 32-bit architectures can address 4GB of memory, maximum. A 64-bit architecture, in turn, has a theoretical limit of addressing 16 million TB of memory.

What is the maximum memory a 32-bit application running on a 64-bit Windows platform is limited to?

They're still limited to 2 GB since many application depends on the top bit of pointers to be zero.

How much RAM can a 64-bit system access?

The theoretical memory limit that a 64-bit computer can address is about 16 exabytes (16 billion gigabytes), Windows XP x64 is currently limited to 128 GB of physical memory and 8 TB of virtual memory.

Can a 32-bit application run on a 64-bit processor?

The 64-bit versions of Windows don't provide support for 16-bit binaries or 32-bit drivers. Programs that depend on 16-bit binaries or 32-bit drivers can't run on the 64-bit versions of Windows unless the program manufacturer provides an update for the program.


2 Answers

2 GB by default. If the application is large address space aware (linked with /LARGEADDRESSAWARE), it gets 4 GB (not 3 GB, see http://msdn.microsoft.com/en-us/library/aa366778.aspx)

They're still limited to 2 GB since many application depends on the top bit of pointers to be zero.

like image 188
Michael Avatar answered Oct 19 '22 02:10

Michael


4 GB minus what is in use by the system if you link with /LARGEADDRESSAWARE.

Of course, you should be even more careful with pointer arithmetic if you set that flag.

like image 34
MSN Avatar answered Oct 19 '22 02:10

MSN