Newer virtual machine managers support virtual memory management in the VMs. So even if you've assigned the VM 8 GB, if it's only using 1.7 GB, it will only take 1.7 GB of main system memory. If you only have 16 GB, have assigned your VMs 20 GB, and they are using 18 GB, the manager will swap out the least-used memory to a pagefile local to each VM to keep physical RAM usage below the actual amount of physical RAM you have. (It doesn't rely on the host OS or hypervisor to manage virtual memory, since those will have no idea what memory in a VM is optimal to write to the pagefile.)
But to answer your question, it depends on the VMs you're running. A Linux VM usually does fine with 512MB to 1 GB. A Windows VM running just one or two...