Issue allocating over 4gb of RAM for a guest

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
RezMT
Posts: 3
Joined: 25. Jul 2013, 18:03

Issue allocating over 4gb of RAM for a guest

Post by RezMT »

Hi All,
I have read through this session, but I couldn't get my answer.

My mac pro has 16 GB of memory (14 GB ) available, and I am trying to run the Oracle SOA 11g PreBuild virtual machine in my Virtual box.

However the same issue as mentioned here, the available memory size is only 4 GB. I have VMWare Fusion on this machine but it doesn't seems to have this problem and it can see whole amount of available memory. I have even try to make sure the os is 64 bits.

I do appreciate if someone can help me in this regards.

Thanks,
Rez
Last edited by noteirak on 27. Jul 2013, 12:10, edited 2 times in total.
Reason: Added trackback to original topic
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Allocating over 4gb of RAM for a vm guest

Post by mpack »

RezMT
Posts: 3
Joined: 25. Jul 2013, 18:03

Re: Allocating over 4gb of RAM for a vm guest

Post by RezMT »

Hi I am attaching all info regarding to my VB and Oracle soa 11g to this post.

My comp spec: Mac Pro 1,1 16GB Memory 2x2.6 CPU - Max OSX Lion

On VMWare fusion I can go even to 8GB of my Memory, but on VBox only 4GB maximum.
Attachments
VBox.log
Vbox Log
(89 KiB) Downloaded 15 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Allocating over 4gb of RAM for a vm guest

Post by mpack »

RezMT's VBox.log wrote: VirtualBox VM 4.2.16 r86992 darwin.x86 (Jul 4 2013 16:13:18) release log
As discussed in the thread, your host is using a 32bit kernel, therefore no single memory object can be larger than 4GB, e.g. the RAM allocation for your VM. You need to switch to 64bit kernel mode.
Last edited by noteirak on 27. Jul 2013, 12:11, edited 1 time in total.
Reason: Added trackback to original topic
RezMT
Posts: 3
Joined: 25. Jul 2013, 18:03

Re: Allocating over 4gb of RAM for a vm guest

Post by RezMT »

Hi mpack,
I do appreciate your reply. I am new to the Mac OSX. If you don't mind, do you know any command to help me to switch to 64 bits?

I have found the following command:

Code: Select all

sudo systemsetup -setkernelbootarchitecture x86_64
but still doesn't work for me.

Code: Select all

192-168-1-4:~ root# cat /Library/Preferences/SystemConfiguration/com.apple.Boot.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Kernel Architecture</key>
	<string>x86_64</string>
	<key>Kernel Flags</key>
	<string></string>
</dict>
</plist>


Thanks,
Rez
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Allocating over 4gb of RAM for a vm guest

Post by mpack »

Well, this is the VirtualBox support forum, not the Mac support forum - plus I'm not a Mac user - but I believe you hold down the '6' and '4' keys during host boot. No doubt there's also a way to make it the default.
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Allocating over 4gb of RAM for a vm guest

Post by noteirak »

I have split this discussion from the original topic being very informative.
Also added trackback links.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply