0

I am a student of networking. I have been using Virtual box for my projects to learn different networking. Today I am working on a University project and I am trying to install Ubuntu in Virtual box but I am getting an error that my memory is not enough. I have a question what is the ideal memory size to install Ubuntu?

My host machine is using MS Window 7 Ultimate 64-bit. And I am trying to install Ubuntu on guest machine. My host computer has https://www.allhdd.com/samsung-m393a4k40cb2-ctd-memory/ (32GB RAM) installed which should be more than enough memory to run Window 7 on the physical machine and an Ubuntu guest OS in VirtualBox.

Artur Meinild
  • 26,018

1 Answers1

1

The minimum and recommended memory requirements for all currently supported versions of Ubuntu Desktop and Ubuntu Server are listed in How do I find out which version and derivative of Ubuntu is right for my hardware in terms of minimal system requirements?.

As a rule of thumb the base memory allocated to the guest OS should not exceed 50% of the available physical RAM. If you are running multiple guest OSs at the same time, the base memory allocated to all of the currently running guest OSs together should not exceed 50% of the available physical RAM. If you assign too much memory to the virtual machine, the machine may might not be able to start.

To change the amount of virtual memory allocated to a specific guest OS in VirtualBox follow these steps.

  1. In VirtualBox select the Ubuntu guest OS.

  2. In the VirtualBox toolbar click gear-shaped Settings icon ⚙️.

  3. In the left pane select System.

  4. Select the Motherboard tab.

  5. Move the Base Memory slider which controls the amount of memory provided to the virtual machine.

    enter image description here

  6. Click the OK button in the lower right corner.

karel
  • 114,770