Opened 2 years ago
Closed 16 months ago
#21005 closed enhancement (worksforme)
Only reserve needed RAM
Reported by: | Shine | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 6.1.34 |
Keywords: | RAM, shared | Cc: | |
Guest type: | Windows | Host type: | Windows |
Description
When VirtualBox 6.1.34 is configured On Windows 10 host, the amount of memory reserved is specified in the settings. And this amount of memory is reserved on the host by the VM when launched.
Would it be possible change the way this setting works, to define a MAX amount of memory available to the VM, and only reserve on-the-fly onto the host the real needed memory when the VM is running ?
In the way, you can launch without trouble on a 64 Gb system 10 (for example) VM that could use each one MAX 16 Gb of memory, if all of these VM only use less than 64 Gb (or better 32 Gb) of RAM in total.
VirtualBox does it for a really long time already. However certain guests (like Windows for example) zero the entire reported memory during boot which causes the memory to be allocated.