Virtual memory? Hm.. I know that the most memory you can have on a 32-bit OS is 4GB (including video memory). It's considerably higher on a 64-bit OS.
Virtual memory is a little different then RAM though. It's the collective memory made out of RAM and borrowed hard drive space (that's a rough explanation). It should still be limited by the OS though.