Shutdown the VM either by logging in and shutting down or force using xe (not recommended): xe vm-list (to get the UUID of the machine) xe vm-shutdown uuid=<VM UUID> force=true
Use xe vm-memory-limits-set to set the memory: xe vm-memory-limits-set dynamic-max=<dynamic max> dynamic-min=<dynamic min> static-max=<static max> static-min=<static min> name-label=<VM name> NB: If you're setting statics then all are the same except static min which is 536870912 on my machine
Restart the VM:
xe vm-start vm=<VM name>
Once it's restarted, ensure it has the correct memory e.g. on Ubuntu this is: free
No comments:
Post a Comment