{{Box|text= '''1.''' Shut down the virtual machine(s). {{CodeSelect|code= virsh -c qemu:///system shutdown <vm_name> }} '''2.''' Increase the maximum memory. {{CodeSelect|code= virsh setmaxmem <vm_name> <memsize> --config }} '''3.''' Set the actual memory. {{CodeSelect|code= virsh setmem <vm_name> <memsize> --config }} '''4.''' Restart the virtual machine(s). {{CodeSelect|code= virsh -c qemu:///system start <vm_name> }} }}