Max 4 gigs, but I believe that only 1GB of RAM is allowed to be dedicated to each individual program. It could be 2GB's, though.
I could be wrong.. but I think you need a server OS to support over 4 gigs. And a processor that supports it. 4.2 gigs is the limits of 32 bit addressing, and you need extender bits and stuff.