1. A method of managing memory of a database management system running in a virtual machine instantiated on a host computer, the method comprising: determining that a hypervisor has requested memory from a guest operating system of the virtual machine for re-allocation by the hypervisor; and upon said determining, releasing an amount of memory allocated to the database management system in accordance with a memory management policy of the database management system, to the guest operating system.