• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 229
  • Last Modified:

Vmware Memory assignement

I would like to know when assigning an amount of memory to a VM, then if that VM stays idle whether another VM is able to use the memory if its own memory is not enough to run an App ?


it is just like Thick disk when it is assigned to a VM no other VM can share it ?
if that's the case, what about when a VM is shut down, does it release the memory for other VMs ? I think so, but I need an Expert to confirm that?

3 Solutions
Mohammed KhawajaCommented:
If you do not reserve the memory then the ESXi host can use the memory for another VM if it requires.  Reservation would be comparable to thick disk provisioning where memory is assigned and removed from the pool regardless if the VM is using it or not.
jskfanAuthor Commented:
I am using VMware Workstation. Where do you set up the reservation?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
There is no Memory Reservation in VMware Workstation.

It's a Type 2 Hypervisor, and does not have the functions of VMware vSphere Hypervisor (ESXi).

If the VM is shutdown, or suspended, memory is returned to the host.

You should be able to see this Task Manager.

When a VM is allocated 4GB, Active Memory in the VM, will use memory in the Host.
Considering everything mentioned above - you must rely on host swapping (VM RAM is allocated resident, so you actually be shooting yourself in the leg by swapping oout OS)
That yields simple solution - buy more ram
Or complex solution - install nested ESXi that knows memory overcommitment.
jskfanAuthor Commented:

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now