VirtualBox VM crash
Posted: 2. Jun 2015, 17:54
Hello,
We have installed VirtualBox on a very large memory (1 Tb) server running x8_64 RHELS 6.4 Linux, and we are attempting to create and use a x86_64 Centos VM (actually my colleague has been working on a Ubuntu VM, however came to the same conclusion in this instance). So I (or my colleague) create a VM allocating 150 GB RAM, and then start the VM. Once the VM is up and running I login and run the following commands:
python
>> a=bytearray(150*1024**3)
In other words, this is using python to grab more and more memory up to 150 GB. In another window I monitor the VM. When the memory usage of the VM reaches 130 Gb (Centos or Ubuntu) the VM freezes. I get a message like this in the log file:
00:03:12.704325 emR3Debug: rc=VERR_NO_MEMORY
00:03:13.705110 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'.
Odd since there is plenty of free memory on the server (it is not yet in service), and I understand that VMs can access up to 1 Tb of RAM. Does anyone understand what might be wrong here, please? I tried to switch on ballooning, however that didn't help and I didn't expect it to have any effect anyway. This large memory case is not typical of the applications we expect to run, however we are nevertheless interested to know how to work with large memory VMs.
Best regards,
David.
We have installed VirtualBox on a very large memory (1 Tb) server running x8_64 RHELS 6.4 Linux, and we are attempting to create and use a x86_64 Centos VM (actually my colleague has been working on a Ubuntu VM, however came to the same conclusion in this instance). So I (or my colleague) create a VM allocating 150 GB RAM, and then start the VM. Once the VM is up and running I login and run the following commands:
python
>> a=bytearray(150*1024**3)
In other words, this is using python to grab more and more memory up to 150 GB. In another window I monitor the VM. When the memory usage of the VM reaches 130 Gb (Centos or Ubuntu) the VM freezes. I get a message like this in the log file:
00:03:12.704325 emR3Debug: rc=VERR_NO_MEMORY
00:03:13.705110 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'.
Odd since there is plenty of free memory on the server (it is not yet in service), and I understand that VMs can access up to 1 Tb of RAM. Does anyone understand what might be wrong here, please? I tried to switch on ballooning, however that didn't help and I didn't expect it to have any effect anyway. This large memory case is not typical of the applications we expect to run, however we are nevertheless interested to know how to work with large memory VMs.
Best regards,
David.