Page 1 of 1

memory allocation

Posted: 1. Jan 2018, 11:02
by lahire51
Hello i have question about memory allocation of virtualbox.

When i start virtual machine from VMWare with for example 16gb of ram, VMware does not allocate all RAM, VMware uses only what it needs.
But when i start virtual machine from virtualbox, virtualbox allocate all RAM (16gb in my example)

I possible to configure virtualbox to use dynamically ram of my vm ?

thanks for advance for your help.

Re: memory allocation

Posted: 1. Jan 2018, 11:22
by socratis
lahire51 wrote:I possible to configure virtualbox to use dynamically ram of my vm ?
VirtualBox does use a lazy RAM allocation algorithm, that is memory is allocated whenever it is accessed. Note the difference between accessed and used. For some guest OSes this can take time, for others it happens fast, it really depends on the guest OS. I would suggest to give your VM no more than whatever you need your VM to work with. 16 GB RAM, sounds like quite a lot.