You can hot plug virtual memory. Hot plugging means enabling or disabling devices while a virtual machine is running. Each time memory is hot plugged, it appears as a new memory device in the Vm Devices tab in the details pane, up to a maximum of 16. When the virtual machine is shut down and restarted, these devices are cleared from the Vm Devices tab without reducing the virtual machine's memory, allowing you to hot plug more memory devices.
Hot unplugging virtual memory is not currently supported in Red Hat Virtualization.
Procedure 5.15. Hot Plugging Virtual Memory
Click the Virtual Machines tab and select a running virtual machine.
Click the System tab.
Edit the Memory Size as required. Memory can be added in multiples of 256 MB.
This action opens the Next Start Configuration window, as the MemSizeMb value will not change until the virtual machine is restarted. However, the hot plug action is triggered by the change to the memory value, which can be applied immediately.
Figure 5.4. Hot Plug Virtual Memory
Clear the Apply later check box to apply the change immediately.
The virtual machine's Defined Memory is updated in the General tab in the details pane. You can see the newly added memory device in the Vm Devices tab in the details pane.