You don’t mention what virtualization software you are using. Some (VMWare in particular) allow over-subscription of memory but most do not. In other words, you can have a host machine with 8GB of RAM and 4 VMs with each allocated 4GB (16 total). Many (most?) virtualization software will not allow you to run with more than your physical RAM allocated to your running VMs.