Creating a New vm

shaddy

New Member
Oct 10, 2019
9
0
1
26
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!