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