We build Web & Mobile Applications.
To increase the default Vagrant box memory with the VirtualBox provider there are VirtualBox specific configuration options. We are currently using the following:
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024"]
end
The latest documentation also lists the following shortcut for VirtualBox memory configuration:
config.vm.provider "virtualbox" do |v|
v.memory = 1024
end
If you are using the VMWare Provider the configuration is different.
config.vm.provider "vmware_fusion" do |v|
v.vmx["memsize"] = "1024"
end
If using VMWare Workstation you would replace vmware_fusion
with vmware_workstation
.