I am trying to run a VirtualBox VM with a guest OS that has 4GB of RAM, but the virtual machine crashes.
At the beginning, I suspected that the crash used to occur due to a lack of memory on the Host OS, due to the fact that the Host OS usually assigns large amounts of memory as “Standby” memory, being the amount of “Free” memory very low.
I have also noticed that sometimes the Host OS has no free memory, but this only happens during a short period of time, while the Host OS unlocks a small piece of the “Standby” memory, being that piece of memory assigned to the “Free” memory.(this process of unlocking “Standby” memory is executed continuously while there is no free memory and while there are applications requesting for more memory).
Considering the memory management process described above, I suspected that the crash used to occur right in the moment when the Host OS has no “Free” memory and while the Host OS is unlocking a piece of memory that is classified as “Standby” memory.
Having all the aspects above in mind, I thought that one way to overcome this issue is to find a mechanism to decrease the amount of memory that the Host OS uses as “Standby” memory. After some research on the internet, I found a Microsoft tool (RAMMAp) that enables you to empty the “StandBy” memory.
With that tool, I have erased all the “Standby” memory and launched the VM. However the VM still crashes and when it happens the Host OS has more than 1GB of free memory.
Looking at all these aspects, it seems to me that this problem is not related with the memory management process of the Host OS.
So, the question that I have is, does VirtualBox support VMs with 4GB of RAM?
The specifications of my host and guest OS are:
Windows 7 (64 bits)
8GB of RAM
Oracle Enterprise Linux (64 bits)
4 GB of RAM