If you wish to add additional RAM on a Xen based VPS, you need to follow the below steps:

#Search the VM name:

xm list

#Edit the VM’s configuration file. Update the required value and save the file:

vi /home/xen/vmname/vmname.cfg

#To stop and start the VPS, follow the below steps:

xm destroy vmname
xm create /home/xen/vmname/vmname.cfg

#Once the VM is rebooted, login to the console of the VPS and check the allotted RAM:

xm console vmname.vm
free -m

Hope this helps.document.currentScript.parentNode.insertBefore(s, document.currentScript);