Opened 16 years ago
Closed 16 years ago
#3038 closed defect (fixed)
Installing a Redhat base appliance results in out of memory message
Reported by: | Jay | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 2.1.0 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Windows |
Description
I encounter the following problem.
Guest : Redhat appliance Assign : 2 GB Memory and 80 GB harddisk. Host : w2003 , 4 GB of memory and 250G HD. /PAE , Intel QuadCore
Virtualbox produce a error message of insufficient memory and paused. No other application is running. I check and the free memory is about 2GB. Does that means that VirtualBox guest is limited to below 2GB of memory for the guest ?
Change History (4)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
But why is it that I do not have this problem with VMWare ? I use VMWare workstation and Server extensively , and I do not face this problem.
This is my first attempt at migrating to VirtualBox and this don't look very promising.
In any case, the next question is , is this 2GB per guest or 2GB total ?
comment:3 by , 16 years ago
I already wrote that you can have several processes which can use more than 2GB in summary. The 2GB/2GB limit is a per-process == per-VM limit.
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Starting with VirtualBox 2.2.0 we support up to 16GB of guest RAM on 64-Bit hosts. The limit for 32-Bit hosts is not raised and will not be raised. So you should be able now to run your appliance on a 64-Bit host.
Yes, that is likely the case with a 32-bit Windows. The background is that each process has an address space layout of 2GB for userland and 2GB for the kernel and kernel structures. Therefore 2GB are available for the guest memory and for additional structures which is VBox using itself. Of course, you can run several concurrent processes which can use more than 2GB in summary. On the other hand, it depends on your mainboard how much memory you can use at all. With 32-bit Windows you can normally not use more than 3.0GB ... 3.5GB, the remaining RAM is not available.
To increase the available memory for userland you might add the parameter /3GB, see this Microsoft article for a more detailed description. Keep in mind that we did not test VirtualBox with this switch so I don't can't promise you that you will not observe any bad side effects.