ESXi 7.0
ESXi 8.0
Hot add memory fuction can increase 16x from the initial powered on VM's memory.
It's because VM's config memory.maxgrow is set to 16 as default.
Max memory for hot add = Initial powered on memory of VM * memory.maxgrow
You can check max memory value for hot add using this command from the ESXi host which VM running on.
From this example, this VM was powered on with 4GB memory and it could increase 64GB using hot plug fuction.
# vim-cmd vmsvc/getallvms
Vmid Name File Guest OS Version Annotation
22 test test.vmx ubuntu64Guest vmx-17
DB_TEST2
vim-cmd vmsvc/get.config 22 |grep -i hotplug
hotPlugMemoryLimit = 65536,
hotPlugMemoryIncrementSize = 128,
You can add 'memory.maxgrow' in VM's configuration
Default value is 16 and you can change it betwwen '1 <= x <= 1000'
There is 2 ways for adding this value.
This value could adjust in offline so you should power off VM first.