1. A method for dynamic memory resource management, comprising: collecting memory activity information for a virtual machine; and dynamically changing memory shares of the virtual machine, as needed, based on the memory activity information for the virtual machine and based on a specified priority of the virtual machine.