Ram for guest more than host machine

Discussions related to using VirtualBox on Linux hosts.
Post Reply
jack_brf
Posts: 7
Joined: 25. Nov 2016, 15:53

Ram for guest more than host machine

Post by jack_brf »

Hi,

I have 8 gb ram on my machine. I am not able to buy more RAM. I need to add more than 8 GB to my guest OS. Virtualbox does not allow me to add more than 8 for guest OS.

Which is possible:

1- It is possible to add more RAM memory if I increase the swap space on my host machine?

2- I will not give 8 gb to guest. But I will run the guest OS and I will set inside VM 8 gb swap space. So this swap space will be use as RAM. But I am not usre about this...

* I am not able to buy more ram on my laptop. I need RAM for guest, even I accept that it will work slower...

* VMWare allows to give RAM more than ram plus swap space of the host machine.

Thanks in advance
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Ram for guest more than host machine

Post by socratis »

You can't do it. VirtualBox need actual, physical, free, available RAM.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
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: Ram for guest more than host machine

Post by mpack »

In fact the max amount of you can allocate to a guest will be substantially less then 8GB, since I assume the host will need a large chunk of that.
jack_brf
Posts: 7
Joined: 25. Nov 2016, 15:53

Re: Ram for guest more than host machine

Post by jack_brf »

mpack wrote:In fact the max amount of you can allocate to a guest will be substantially less then 8GB, since I assume the host will need a large chunk of that.
The second thing that I write, should work?! I mean I will give to guest VM 10 gb more as hard drive. And than I will set inside guest OS 10 gb swap space. And how it will not work. It will work very slow, but it should work. right?
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: Ram for guest more than host machine

Post by mpack »

Those are guest questions which have nothing to do with VirtualBox, or the "Linux Hosts" forum in fact. Yes, most modern OS's can swap RAM in and out to disk, whether they run in a VM or not. Yes, excessive use of paged RAM will be slower, though an SSD would help there. Without the SSD the lag can be excruciating (and perhaps even with the SSD).
Post Reply