What is the maximum supported hardware RAM in Windows 32-bit?
I want use 4GB of RAM. Can I use in Windows XP 32-bit? Or should I go for Windows XP - 64-bit? Does it support 4GB of RAM?
Does Windows 7 32-bit support more than 4GB of RAM, or is >4GB support only available in Windows 7 64-bit?
If you want to utilize the full 4GB, go for 64-bit or enable PAE. I'd recommend the first option for future expansion.
You'll also want to first make sure your chipset can support the amount of memory you're installing as well.
The short answer is use 64-bit Windows 7. The 64-bit driver situation for XP is not as good (as long as you're using current hardware).
You can enable PAE for 32-bit Windows (XP through 7), but the non-Server versions specifically ignore any memory above 4GB because some drivers don't expect it, and they fail.
On 32-bit Server Windows, the driver situation is more "controlled" and therefore the extra memory from PAE is supported. Even so, you can have, for example, two "2GB" processes using the 4GB of RAM, but you cannot have a single "4GB" process, because 32-bit processes are still limited to 4GB, some of which is mapped to devices and the kernel.