Actually you do not need to change VM type. You can increase the memory with editing the VM, but it has to be stopped.