Incorrect sysem memory reported
-
blues2use
- Posts: 3
- Joined: 4. Oct 2010, 20:40
- Primary OS: Ubuntu other
- VBox Version: OSE other
- Guest OSses: Winodws 7
Incorrect sysem memory reported
Newbie here running 3.2.8 r64453 (Windows 7) and recently upgraded from 2.5GB of RAM to 4GB on my laptop. Vbox is still showing just 2.5GB of total system memory in Settings.
bob@ubuntu:~$ uname -a
Linux ubuntu 2.6.32-25-generic-pae #44-Ubuntu SMP Fri Sep 17 21:57:48 UTC 2010 i686 GNU/Linux
bob@ubuntu:~$ free -m
total used free shared buffers cached
Mem: 4012 1106 2905 0 176 586
-/+ buffers/cache: 343 3668
Swap: 0 0 0
What do I need to do to have Vbox see the newly installed total memory?
Thanks for the help
bob@ubuntu:~$ uname -a
Linux ubuntu 2.6.32-25-generic-pae #44-Ubuntu SMP Fri Sep 17 21:57:48 UTC 2010 i686 GNU/Linux
bob@ubuntu:~$ free -m
total used free shared buffers cached
Mem: 4012 1106 2905 0 176 586
-/+ buffers/cache: 343 3668
Swap: 0 0 0
What do I need to do to have Vbox see the newly installed total memory?
Thanks for the help
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Incorrect sysem memory reported
VirtualBox (32 bit) will not allow you to have more than 50% of the hosts RAM and is set to that as MAX in the guest settings. Usually 1500MB but that varies a little between VBox versions.
-
blues2use
- Posts: 3
- Joined: 4. Oct 2010, 20:40
- Primary OS: Ubuntu other
- VBox Version: OSE other
- Guest OSses: Winodws 7
Re: Incorrect sysem memory reported
Thanks for the reply. I had to install the linux-pae components to allow my ubuntu system to see the 4.012GB memory after the upgrade. What I'm wondering is why the system memory in Vbox is still being reported as 2560 rather than 4012. I'd like to bump it up for my Win7 VM.Perryg wrote:VirtualBox (32 bit) will not allow you to have more than 50% of the hosts RAM and is set to that as MAX in the guest settings. Usually 1500MB but that varies a little between VBox versions.
Here's a link to my Vbox settings screen cap:
http://s767.photobucket.com/albums/xx31 ... ttings.png
I had this same problem after upgrading RAM in another laptop running XP in a VM and had to run a terminal command (that I kept in my notes):
sudo /etc/init.d/vboxdrv setup
I don't want to mess up my Vbox installation/VM by just arbitrarily running this command. If, however, that is necessary, that's fine.
Thanks again
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Incorrect sysem memory reported
You can always run that command without worry. It won't change the amount of memory shown though AFAIK.
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: Incorrect sysem memory reported
You're running a 32 bit Host. This means that the 2,5 GB RAM is a set limit for compatibility reasons. If you want to allocate more RAM, get a 64 bit Host. But do remember that setting 75% of your system RAM to a VM will cause VB to disable the OK button in the settings to prevent out of memory errors of the Host. So essentially, you won't get anywhere like Perry said. Unless you buff up your RAM some more, if at all possible.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
blues2use
- Posts: 3
- Joined: 4. Oct 2010, 20:40
- Primary OS: Ubuntu other
- VBox Version: OSE other
- Guest OSses: Winodws 7
Re: Incorrect sysem memory reported
Actually, it did change the amount of RAM reported on my other laptop after I removed and reinstalled Vbox. Perhaps I should save the VDI file, remove Vbox, reinstall (since I now run the PAE kernel) and see if the settings menu shows the full amount of system RAM.Perryg wrote:You can always run that command without worry. It won't change the amount of memory shown though AFAIK.
Thanks
-
ramack
- Posts: 24
- Joined: 23. Apr 2009, 04:32
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: windows
Re: Incorrect sysem memory reported
I'm helping a friend at work with a W7 host, Ubuntu guest. Isn't there another way of refreshing and updating the correct amount of physical RAM installed? His W7 host has 8G installed, VBox control panel only is showing that 4G is available. Both the host and guest are 32bit.
Rich
Rich
Last edited by ramack on 10. Apr 2012, 18:35, edited 1 time in total.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Incorrect sysem memory reported
Not with 32-bit.
If you have pae enabled (host and guest) you can use the CLI commands of VBoxManage to increase it I think but what's the point?
If you have pae enabled (host and guest) you can use the CLI commands of VBoxManage to increase it I think but what's the point?
-
ramack
- Posts: 24
- Joined: 23. Apr 2009, 04:32
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: windows
Re: Incorrect sysem memory reported
I'm not sure if pae is enabled on the guest. I would think(yeah, I'm thinkin' again) that something like physical memory would be detected and reported in the control panel correctly just as it would in the host BIOS. The point? Just looking for an easier method of having the RAM reported instead of removing and installing VBox.Perryg wrote:Not with 32-bit.
If you have pae enabled (host and guest) you can use the CLI commands of VBoxManage to increase it I think but what's the point?
Rich
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Incorrect sysem memory reported
The 4GB available in the GUI is hard coded for 32-bit. You can as I said use VBoxManage to increase it over 4GB but you want to be sure of what you are doing.
Code: Select all
VBoxManage modifyvm <uuid|name> [--memory <memorysize in MB>]-
ramack
- Posts: 24
- Joined: 23. Apr 2009, 04:32
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: windows
Re: Incorrect sysem memory reported
Maybe this is a difference between having a Linux Host/Windows Guest and Windows Host/Linux Guest. My Debian desktop (Linux host/Windows Guest) shows the correct physical RAM in the VBox control panel in the second attachment. 3Gb is installed.
My friend's laptop (Windows 7 host/Linux guest) shows the correct amount of physical RAM in the Windows system control panel, however in the Vbox control panel it does not, (the first attachment). He's gone with his laptop, so at the time of writing this, I can not verify this, but I would suspect that as the slider is moved to the right to increase the guest memory, at 75% Vbox would prompt a warning that you are at 75% of total memory. When it is actually only at 37.5%.
I have 8Gb on my Linux host at my home. I'm pretty sure that on the Vbox control panel, it shows 8Gb, and if I wanted to, I could put the slider near 8Gb.
My friend's laptop (Windows 7 host/Linux guest) shows the correct amount of physical RAM in the Windows system control panel, however in the Vbox control panel it does not, (the first attachment). He's gone with his laptop, so at the time of writing this, I can not verify this, but I would suspect that as the slider is moved to the right to increase the guest memory, at 75% Vbox would prompt a warning that you are at 75% of total memory. When it is actually only at 37.5%.
I have 8Gb on my Linux host at my home. I'm pretty sure that on the Vbox control panel, it shows 8Gb, and if I wanted to, I could put the slider near 8Gb.
- Attachments
-
- Vbox control panel not showing the correct physical memory. Windows7 host.
- w7mem.png (118.85 KiB) Viewed 3672 times
-
- Vbox control panel displaying the correct physical memory. Linux host.
- debmem.png (69.93 KiB) Viewed 3672 times