Page 1 of 1
Guest suspended - out of memory
Posted: 4. Jul 2013, 06:19
by BestMan
host: Windows7
guest: Ubuntu 12-04
vbox and guest additions: latest versions
I got a message saying something to the effect that the guest could not get adequate memory and was suspended. It further advised that I terminate the guest and post the log file on the forums.
VBox.log
- (101.84 KiB) Downloaded 21 times
This has happened a couple of times recently. Vbox was completely solid for months before this.
Re: Guest suspended - out of memory
Posted: 4. Jul 2013, 11:06
by mpack
VBox.log wrote:
00:00:02.348809 Host RAM: 3981MB total, 2594MB available
...
00:00:03.438007 RamSize <integer> = 0x0000000080000000 (2 147 483 648, 2 048 MB)
...
00:00:03.438366 VRamSize <integer> = 0x0000000008000000 (134 217 728, 128 MB)
The first three headline items grab almost all of the memory available on your host. Of course VirtualBox requires more than that to run the VM.
For some reason you seem to have installed a 64bit host OS even though it only has 4GB RAM total available (the main purpose of a 64bit OS is to cope with >4GB RAM). This doesn't really leave enough to run large VMs in comfort. You'll need to get more host RAM or find some way for the host to need less, or reduce RAM allocation to the guest (you don't say, but I assume it too is 64bit, otherwise giving it 2GB would be overkill).
Re: Guest suspended - out of memory
Posted: 4. Jul 2013, 21:21
by BestMan
Thanks for your help.
I'll switch to a 32bit Ubuntu.
My machine is an Ultrabook that is limited to 4G memory.
But, but...the host is Windows7, which I thought was also 64-bit ??
And Ubuntu's download site says 64-bit is for "newer processors" (which I have, of course).
Re: Guest suspended - out of memory
Posted: 5. Jul 2013, 10:55
by mpack
BestMan wrote:But, but...the host is Windows7, which I thought was also 64-bit ??
Win7 comes in 32bit and 64bit variants. Unfortunately if you have the wrong variant then there isn't much you can do. As far as I can tell they don't ship both variants on the same DVD, at least the Win7 setup DVD I have here seems to be 64bit only.
BestMan wrote:And Ubuntu's download site says 64-bit is for "newer processors" (which I have, of course).
Well yes, the 64bit option is only available on recent processors. But it remains an option, not a requirement. Frankly, if your notebook can't be expanded beyond 4GB RAM then 32bits is the better choice for both host and guest.
For your VM I would certainly look to install the 32bit variant, and try it with (say) 512MB RAM, which is all it should need.