Creating a New vm

shaddy

New Member
Oct 10, 2019
9
0
1
28
My total RAM is = 8GB and I'm running a VM with 8GB so no more free memory to create another VM right ? but I want to create another VM with 8GB ,in that case if I shutdown already running VM without deleting could I create another VM with 8GB memory and my

1st question is it possible to do that ?
2nd question is if run both 2 Vms at a same time what will happen ?
 
Hi,
if you allow your VM to use all of the hosts memory your host might run into problems. Depending on whether ballooning is active your VM won't actually use all of the assigned memory, but only the amount of memory it actually needs. See here for more information. When the VM comes close to actually using 8GB of memory you will run into problems, i.e. thrashing.

My total RAM is = 8GB and I'm running a VM with 8GB so no more free memory to create another VM right ? but I want to create another VM with 8GB ,in that case if I shutdown already running VM without deleting could I create another VM with 8GB memory and my

1st question is it possible to do that ?

Yes, a shut down VM doesn't use RAM. Setting it to something like 6GB is safer though.

2nd question is if run both 2 Vms at a same time what will happen ?

If ballooning is active, you will be able to do that as long as the VMs + host together don't use all of the available memory.