Cant allocate more than 946KB of RAM

Discussions about using Windows guests in VirtualBox.
Post Reply
johnyri
Posts: 5
Joined: 14. Feb 2011, 17:18
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Win-7

Cant allocate more than 946KB of RAM

Post by johnyri »

Hello, I have searched for a similar issue but haven't found one so Im sorry if I have missed it.

Currently running VB 4.0.2 on Ubuntu 10.04 LTS on a Dell Inspiron 530s that originally came with 2GB of RAM. Been running win7 VM guest with about 946KB sice ver 3.xx and decided to up host to 4GB. Had to install the generic-pae kernel for Ubuntu to recognize over 3.2GB. So now we see 4GB and I upped the VM to just under 2GB and I get "Abort" anytime I open an app in win7 host. Complete shutdown of VB. Logs arent telling me much... any help would be great!

UPDATE: Win7 guest pegs out at 100% solid (doing nothing) for a few minutes before VB crashes.
kernel: [11807.646611] VirtualBox[14464]: segfault at 9b4510f4 ip b08cf064 sp b176d030 error 4

Thank you!
Last edited by johnyri on 17. Feb 2011, 20:48, edited 1 time in total.
fixedwheel
Volunteer
Posts: 1699
Joined: 13. Sep 2008, 02:18

Re: Cant allocate more than 946KB of RAM

Post by fixedwheel »

Logs arent telling me much...
maybe someone other can see something... post the VBox.log as attachment
johnyri
Posts: 5
Joined: 14. Feb 2011, 17:18
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Win-7

Re: Cant allocate more than 946KB of RAM

Post by johnyri »

Please find vboxlog.txt attached. Appreciate the help!
Attachments
vboxlog.txt
(48.96 KiB) Downloaded 4 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Cant allocate more than 946KB of RAM

Post by Perryg »

This error should be fix now. Turn the hosts IO cache on in the guest settings.

Code: Select all

00:00:01.631 File system of '/home/john/.VirtualBox/Machines/Win-7/Snapshots' (snapshots) is ext4
00:00:01.631 File system of '/home/john/.VirtualBox/HardDisks/Win-7.vdi' is ext4
00:00:01.632 Console: VM runtime error: fatal=false, errorID=Ext4PartitionDetected message="The host I/O cache for at least one controller is disabled and the medium '/home/john/.VirtualBox/HardDisks/Win-7.vdi' for this VM is located on an ext4 partition. There is a known Linux kernel bug which can lead to the corruption of the virtual disk image under these conditions.
00:00:01.632 Either enable the host I/O cache permanently in the VM settings or put the disk image and the snapshot folder onto a different file system.
00:00:01.632 The host I/O cache will now be enabled for this medium"
I get "Abort" anytime I open an app in win7 host
So just to be clear if you set the memory at 1.5GB Windows 7 will start and stay up, but aborts if you start an app?
Any particular app? Couple of things to try below.
Version 4.0.4 was released today and you should update to it.
If this fails to help try to install another copy of Windows 7 with the memory set to 1.5GB and see if it works. Be sure to uncheck register online as soon as Windows is installed. You are just testing and this will give you a 30 day test period.
johnyri
Posts: 5
Joined: 14. Feb 2011, 17:18
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Win-7

Re: Cant allocate more than 946KB of RAM

Post by johnyri »

So just to be clear if you set the memory at 1.5GB Windows 7 will start and stay up, but aborts if you start an app?
Any particular app?
Have tried every increment between 946 and 19xx, results are same. If I let the guest sit and idle long enough above 9xx it eventually aborts and VB crashes. If I open say outlook, or whatever, it just aborts faster. In watching the CPU on the guest it starts at 100% and never goes down (@ greater than 946/9xx RAM) and I assume it just gives up and crashes. But when at 9xx the CPU on guest goes WAY down to a respectable level.

I will update and try again. I fear that the WIN7 install is simply holding on to the 9xx of RAM that it was installed at and doesn't want to budge.

Thank you!
johnyri
Posts: 5
Joined: 14. Feb 2011, 17:18
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Win-7

Re: Cant allocate more than 946KB of RAM

Post by johnyri »

SUCCESS!! 4.0.4 was the fix. Things are looking normal now.

Thank you!
Post Reply