When creating a new fixed size VM in VirtualBox even though my memory usage, my CPU usage and my I/O usage in "System Monitor" stay at their normal levels, my entire machine freezes and becomes unresponsive until the VM has been fully created (which takes around 5 minutes). Why is this? And if no extra CPU, memory or I/O usage is being used, then why is the entire machine becoming unresponsive? Is it just that there is a problem with System Monitor not displaying the correct information, or something else slowing the machine down which is not to do with CPU, memory or I/O usage?
I have installed VirtualBox from the official repository by adding:
deb http://download.virtualbox.org/virtualbox/debian wily contrib
To my sources file, running:
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
And then installing the
virtualbox-5.0 package, version 5.0.14 r105127. Though the issue was present when I installed VirtualBox from the official Ubuntu repositories, and also when I installed it from the
.deb from the website.
My CPU type is i3.
And just to say this again to make it very clear, this occurs during the time that the drive is actually being created, once it has been created, there is no problem installing the OS on it, but it is during the creation, not usage. So it happens when I press the "Create" button:
When I ran the
free command during the creation, this is one of the outputs I got (the
cached size was always growing):
total used free shared buffers cached Mem: 3894816 3860184 34632 341108 23680 1567908 -/+ buffers/cache: 2268596 1626220 Swap: 4038652 118476 3920176