-1

(I didn't know whether post this question on superuser or serverfault. The original post with all of the background info is on https://serverfault.com/q/981374/134315. I hope it is okay to include the question here too.)


I would like to force VMWare (Fusion) to pre-allocate all of the RAM assigned to a specific virtual machine as soon as that VM is powered on. Does anyone know how to do that?

(I assume I will have to manually add a setting to the VM's .vmx file.)

1
0

This is a print of the edit settings of a VM on ESXi:

enter image description here

I assume Horizon will provide the same options to reserve the memory on the resources tab.

Once the Reserve all guest memory (All locked) is checked the following lines are added to the .vmx file:

sched.mem.min = "2048"  
sched.mem.pin = "TRUE"
3
  • This is a different UI than I have on Fusion. It looks like the [x] Reserve all guest memory option is what I need. Can you tell which setting this writes to the .vmx file for the virtual machine? – James L. Aug 30 '19 at 20:34
  • @JamesL., I edited the answer to add the code generated on the .vmx. – Ronaldo Aug 31 '19 at 1:27
  • Thank you! I edited the .vmx and added those values. The VM did not immediately allocate the RAM, but continued to behave as before. Thanks for your help. I think these, with a few other settings that I've been playing with might be what I need. I'll post back if I find something that works... – James L. Aug 31 '19 at 2:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.