More than 4 GB of RAM on Vista x86

4

0

I have a machine with Vista Business SP2 (x86). There are 6 GB of physical RAM on the machine. Looking in the system properties, it does say that I have 6 GB so Vista does see it all.

However, looking at the memory limits on MSDN, it says that 4 GB is the limit for a x86 version of Vista.

I work with virtualization (Virtual PC mostly) and I need to allocate at the very minimum 2 GB of RAM to the virtual box. Even with 6 GB of RAM, Virtual PC often won't start because "not enough memory on the host machine".

I'm wondering, does Vista actually use the whole 6 GB? And if it does, I would be willing to add more memory on the machine, but what is the actual maximum (as the values on msdn wouldn't be correct)?

Hugo Migneron

Posted 2011-06-03T15:52:03.550

Reputation: 143

Answers

11

MSDN does not lie. :-) 32-bit versions of Windows are maxed out at 4GB (and actually less when drivers are taken into account). Mark Russinovich's blog has the scoop. I always assumed this was a physical limitation of 32bit OS, but Mark implies its a licensing one:

"All 32-bit Windows client SKUs, however, including Windows Vista, Windows XP and Windows 2000 Professional, support a maximum of 4GB of physical memory".

I may be reading more into this than I should. Either way though, you need a 64bit OS to take advantage.

uSlackr

Posted 2011-06-03T15:52:03.550

Reputation: 8 755

5

It's both. 32 bit addressing limits RAM to 4 GB - if you do the math, a 32 bit system has a maximum of 4 GB. However, most (if not all) 32 bit systems today can use more by utilizing 36 bit addressing (this is how Windows Server Enterprise and Data Center (x86) can get around the 4 GB limit). However, the systems must support 36 bit addressing (which most do) but Microsoft has chosen not to implement for client OSs or "low level" (Standard and below) editions of Windows Server. More information can be found here: http://msdn.microsoft.com/en-us/windows/hardware/gg487512

– Multiverse IT – 2011-06-03T16:18:44.270

2

It is a limitation of x86- fundamentally, a 32-bit process cannot address more than 4GB, with half reserved for the kernel. However, if you were running multiple processes and had more than 4GB RAM, there's no reason that the OS could not set these 4GB "windows" into different sections of physical RAM. The reason that the different Windows 64bit versions address different amounts is because fundamentally, 64-bit goes up to something truly insane, and Windows has a lot of room to play with here.

That is, to be a little more direct, then sure, Vista probably will use the whole 6GB- but you still can't allocate more to an individual process, it would only help you if you were running several memory-intensive processes.

DeadMG

Posted 2011-06-03T15:52:03.550

Reputation: 263

2

This limitation is inherent in all 32-bit operating environments due to the binary nature of our computers. 2 (bits) ^ 32 = 4,294,967,296 bits or 4 GigaBytes of maximum addressable memory, including all in-system memory such as on graphics cards (some 32-bit operating systems get around this with different hacks). The fact that Vista can "see" the installed 6 GB indicates that your hardware (motherboard and CPU) likely is capable of supporting a 64-bit operating system.

For more information Arstechnica had a nice write up on why upgrading to 64-bit is good.

Xantec

Posted 2011-06-03T15:52:03.550

Reputation: 2 303

1

4GB is all you theoretically can address based on the 32-bit OS, minus a portion for video memory, usually bringing it down to 3.25GB on most current systems. You would need to go to 64-bit Vista for it to see all your memory.

If you decide that you want to re-format and do that, if you can get the media (if you have an OEM version, you need a 64-bit OEM version disk...you can probably purchase this cheaply from the manufacturer of your PC), there is no difference between 32-bit and 64-bit licensing for the same version of the OS (32-bit Vista Ultimate to 64-bit Vista Ultimate). Your same product key will work.

Do a full backup of your data first.

KCotreau

Posted 2011-06-03T15:52:03.550

Reputation: 24 985

Thanks, Vista does "see" it though, it says so in the system properties. I see what you mean though (unfortunately, a format isn't an option, the box is x86, not 64 bits) – Hugo Migneron – 2011-06-03T16:00:11.283

1It may recognize it in some form, but it will not use it. I have added to my original post. What do you mean by the "box" is x86 not 64-bits? Virtually every PC for years is capable of running a 64-bit OS provided there are drivers for it. You would just need to re-install as a 64-bit OS after you check for driver compatibilty on the manufacturer's web site. – KCotreau – 2011-06-03T16:04:10.307

@Hugo You would just need to re-install as a 64-bit OS: This would mean purchasing a new 64-bit copy of the code + license (usually packaged together). At this point, if you're considering getting Vista 64-bit, I would personally recommend you upgrade to Windows 7 64-bit. Check if your system can upgrade here

– Xantec – 2011-06-03T16:25:28.523

Xantec, your comment in not correct. He may need to purchase the media, typically $20, from the manufacturer of his PC (if it came pre-installed, otherwise for retail versions, you can buy a replacement disk without a key from Microsoft), but his current license and key good for either 32-bit or 64-bit use. If he does decide to upgrade, which is a valid option, then he would need a new license. – KCotreau – 2011-06-03T16:33:07.430