VirtualBox - How to dynamic RAM allocation for Guest OS

Solution 1:

The feature you are searching for is called Memory Ballooning: http://www.virtualbox.org/manual/ch04.html#guestadd-balloon