maynardj
Contributor
Contributor

Memory reservation and swap file

Hi there,

I am trying to clear off the swap file for a VM. I have already set the "Reserve all guestmemory (All locked)" (Screenshot1) and rebooted the server but the swap file is still there in the datastore (Screenshot2).


The current memory usage is as follows (Screenshot3)


Please advise. Thanks.

5 Replies
UmeshAhuja
Commander
Commander

Hi,

Try to do a storage vMotion and check if the swap file which is not in use might left behind in datastore and then you can delete the same.

Thanks n Regards Umesh Ahuja If your query resolved then please consider awarding points by correct or helpful marking.
0 Kudos
maynardj
Contributor
Contributor

Hi Umesh,

Unfortunately we are using the free version of ESXi 6 so we don't have Vmotion or Svmotion.

Any other suggestions?

Thank you.

0 Kudos
a_p_
Leadership
Leadership

Did you just reboot the VM, or did you shut it down, and power it on again?

André

PS: Discussion moved from vSphere noobs  to VMware ESXi 6

0 Kudos
maynardj
Contributor
Contributor

Hi Andre,

I just rebooted it

Thanks

0 Kudos
a_p_
Leadership
Leadership

That may be the reason. Please shut down the guest, and then power it on again, in order for the reservation settings to take effect.

André