Ensure the host has the required license Hot Pluggable Virtual Hardware:
Log in to the vSphere Client and select the ESX host.
Click the Configuration tab.
Select Licensed Features.
Verify if you have Hot Pluggable Virtual Hardware.
Ensure the Virtual Machine has the options enabled:
Log in to the vSphere Client.
Right-click on the virtual machine.
Navigate to Edit Settings > Options > Memory/CPU HotPlug.
Select Enable Memory Hot Add for this Virtual Machine.
Note: It is equally important that the guest operating system supports the hot add feature. To determine if it does, see the VMware Hardware Compatibility List (choose Guest OS from the What are you looking for dropdown). The virtual hardware section under the Guest OS should read supported.