Thursday, January 4, 2018

64 bit - virtualbox 3584MB memory limit?


I am running Oracle VM VirtualBox Manager 4.1.12_Ubuntu on a 32-bit Ubuntu laptop with 8GB RAM and the 64-bit Ubuntu VM only runs with up to 3584MB of RAM (with "Enable PAE/NX" setting activated in Virtualbox, which determines it should be working in the host). How can I overcome this memory limitation and run the 64bit VM with more memory?


Edit: PAE should be enabled in the laptop, since I can see the 8GB of RAM for the 32-bit Ubuntu 12.04 system when I run top:


Mem:   7785228k total,  1319304k used,  6465924k free,   103668k buffers

Answer



You can overcome this limitation by upgrading the host OS to a 64 bit version.


[Updated since it is now clear that both host and VM have PEA enabled]


It is you host OS (32-bit Ubuntu) which manages the memory. Your OS has PAE enabled, which means it (the host OS) can address up to 36 bits physical memory. However applications are still limited to 32 bit address space.


You can run multiple applications and (e.g. two programs using 3½ GB of RAM) on the host, but not single application which uses more than 4GB.


Your virtual box shell is a single application.


No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...