VagrantでVirtualBoxのメモリ上限を増やす

初期状態

# Example for VirtualBox:
#
# config.vm.provider "virtualbox" do |vb|
# # Don't boot with headless mode
# vb.gui = true
#
# # Use VBoxManage to customize the VM. For example to change memory:
# vb.customize ["modifyvm", :id, "--memory", "1024"]
# end

2GBに変更

config.vm.provider "virtualbox" do |vb|
# # Don't boot with headless mode
# vb.gui = true

# Use VBoxManage to customize the VM. For example to change memory:
vb.customize ["modifyvm", :id, "--memory", "2048"]
end

vagrant reload


Vagrant で Virtualbox 仮想マシンのメモリ割り当てを増加させる | EasyRamble
vagrantの設定を色々調べて(試してみた) - Qiita