Table of contents

Increase RAM on the VM

If you have less than 8GB of RAM on your host machine, you’ll need to either:

  • reduce the RAM available to the VM
  • add extra RAM

You can reduce the RAM available to the VM in a Vagrantfile.localconfig file in the same [directory][vagrantfile-directory] as Vagrantfile, which is automatically read by Vagrant (don’t forget to run vagrant reload):

$ cat ./Vagrantfile.localconfig
config.vm.provider :virtualbox do |vm|
    vm.customize [ "modifyvm", :id, "--memory", "1024", "--cpus", "2" ]
end
This page is owned by #2ndline and needs to be reviewed