4GB in a 32-bit OS; how much can you really use?

Discussion in 'Hardware' started by Mimsy, Aug 7, 2008.

  1. Mimsy

    Mimsy Superior Imperial Queen of the MG Games Forum

    Since there always seem to be threads asking about the maximum amount of RAM for a 32-bit operating system, I thought I'd write up an explanation and post it here, so I can just link to it when I see the question next time. :major

    Here we go:

    First off, the limitation is in the operating system (OS) of the computer, not in the motherboard or BIOS. That means that if your motherboard has four slots that can take 1GB each, you can install four 1GB memory modules without any complications at all, and the BIOS will correctly report that all four of them are installed and working (assuming of course that's the case).

    However, if you have a 32-bit OS, it will report only 3GB or 3.5GB (or somewhere in between). In extreme cases, it may even be as low as 2.5GB! This does not mean that your new RAM isn't working, and a quick peek in the BIOS will verify that. It has to do with the fact that a 32-bit operating system caps out at 4GB of total system memory.

    A brief tangent here: If you don't know if you have a 32-bit OS, look in your System Preferences if you have Windows XP, and in System in Control Panel if you have Vista. If it doesn't say "64-bit" somewhere in there, you have a 32-bit OS installed.

    The problem that you are going to run into if you want to max out the amount of memory on your 32-bit OS computer, is that 32-bit allows for a total of 4GB of addressable system memory. That does not mean 4GB physical RAM, , it means everything. Now, some of that everything is paging files, the memory on the video card, integrated networking... there are all sorts of functions that need memory to work, and they count towards that 4GB system total.

    When you boot the computer it sets aside a section of the 4GB for the things I just mentioned, and stashes that amount away in the top of the 4GB. (This is very over-simplified, since I didn't feel like typing three additional paragraphs about address space.) I if your computer wants a total of 1GB held in reserve, and you have 2GB of physical memory installed, you will see the full 2GB reported by your 32-bit OS, because you're not totaling 4GB or more. However, if you install 4GB of RAM you will not see the full amount reported. Your computer has already reserved 1GB for itself, and because a 32-bit OS know there can never be more than 4GB in total, the largest amount of RAM it can imagine is 3GB, so that is what it will report to you as having available for use.

    In Service Pack 1 for Vista, Microsoft addressed the matter, and made the 32-bit versions of their new OS report the amount that is installed in the memory slots. However, this is a cosmetic change, and does not change the fundamental architecture of the 32-bit OS, and that in turn means that although Vista 32-bit tells you it has 4GB of RAM, it will not be able to use the full 4GB. It will use whatever is left over once the non-OS functions have been given their share.

    Hopefully this clears things up a little bit. :)
     
  2. pclover

    pclover MajorGeek

    Good post Mimsy
     
  3. Mimsy

    Mimsy Superior Imperial Queen of the MG Games Forum

    Thanks. :)

    One of the reasons I posted it here was I'm hoping other members who know RAM will add to it, so that anything I might have over-looked will be covered. Feedback is appreciated. :)
     
  4. Bold Eagle

    Bold Eagle MajorGeek

    Here is arguably one of the best articles on this discussion:

    http://blogs.msdn.com/hiltonl/archive/2007/04/13/the-3gb-not-4gb-ram-problem.aspx

    Basically even if you buy 4Gb or greater of RAM (prices are so damn cheap) if your CPU cannot process 40-bit addressing x64 (Intel EM64T/AMD64) you wont get 4Gb happening, if your Motherboard does not support EM64T/AMD64 processing you wont get to use 4Gb and finally if you don't have a 64Bit OS you won't get to "utilise" 4Gb.
     
  5. dlb

    dlb MajorGeek

    Yeah, thanks for this. I have to explain to people why their Windows is reporting 3.2gb of memory when they just installed 2 x 2gb DDR2-800 sticks and they think something is wrong.... now I can just reference this thread, and BE's link above....

    Thanks!

    (oh, and BTW- in case anyone is wondering: x64 means 64bit, but x86 means 32bit.... just to clarify ;) )
     
  6. Bold Eagle

    Bold Eagle MajorGeek

  7. Mimsy

    Mimsy Superior Imperial Queen of the MG Games Forum

    There is a fourth question that needs to be answered as well, at least for most users. Do you really need 4GB? Yes, it is extremely cheap right now, but if all you use your computer for is surfing and email, then 4GB is overkill. :)
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds