Tom's Hardware > Forum > Motherboards & Memory > Memory > [Solved] How much ram do 32 bit programs have access to?

Best answer from sminlal.

Word :    Username :           
 

I was wondering because I upgraded to win 7 64 bit after i lost my hard drive. Most of the programs i use have installed in the x86 program filles folder. right now, i believe, the only 64 bit program i have installed is adobe photoshop. Does it matter, what the program is natively will i still see the use of my 6 gigs of ram if i am mostly using 32 bit programs.

4745454b wrote :

Are you sure about that? A 32bit windows OS has enought address space for 4GBs of ram, but each program is limited to 2GBs. The 3GB swich I believe limits windows to 1GB of space, but I don't think the extra GB goes to a singloe program. I don't know of any program limit in win x64.

Are you asking about whether a 32-bit program can really access all 4GB in a 64-bit OS? The answer is yes, if the program has the "Large Address Aware" flag set (note this is NOT the same as PAE). See: this MSDN article

Sponsored Links
Register or log in to remove.

32-bit programs can only address a maximum of 4GB of memory in a 64-bit OS (they can only access 2 or 3GB of memory in a 32-bit OS). So a single 32-bit program won't be able to use all of your 6GB of memory.

But you will be able to, for example, run five 1GB programs at once and have them all fit into memory. And even if you're not running that many programs the extra memory will still be used for file caching.

Reply to sminlal

thanks thats exactly what i was wondering.

Reply to decen

Are you sure about that? A 32bit windows OS has enought address space for 4GBs of ram, but each program is limited to 2GBs. The 3GB swich I believe limits windows to 1GB of space, but I don't think the extra GB goes to a singloe program. I don't know of any program limit in win x64.

------------------------------ The voice of REASON
Do NOT feed the TROLLS!
Always a DEMON!
Reply to 4745454b
Best answer

4745454b wrote :

Are you sure about that? A 32bit windows OS has enought address space for 4GBs of ram, but each program is limited to 2GBs. The 3GB swich I believe limits windows to 1GB of space, but I don't think the extra GB goes to a singloe program. I don't know of any program limit in win x64.

Are you asking about whether a 32-bit program can really access all 4GB in a 64-bit OS? The answer is yes, if the program has the "Large Address Aware" flag set (note this is NOT the same as PAE). See: this MSDN article

Reply to sminlal

interesting....How do you set the large address? is it just entering the comand in the shortcut?

Reply to decen

So for future reference, in win x64, each 32bit program can use up to 4GBs of ram, and only 2/3GBs if using 32bit. Thanks for the link.

------------------------------ The voice of REASON
Do NOT feed the TROLLS!
Always a DEMON!
Reply to 4745454b

decen wrote :

interesting....How do you set the large address? is it just entering the comand in the shortcut?



The exefile must be altered. Editbin from Microsoft can do it. There is a small risk to it, if the developer of the application hasn't set it already. There is a small risk that it will crash when it tries to access memory above 2G - depending on how it is programmed.

Reply to mikrev007
Tom's Hardware > Forum > Motherboards & Memory > Memory > [Solved] How much ram do 32 bit programs have access to?
Go to:

There are 1133 identified and unidentified users. To see the list of identified users, Click here.

Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them