How to increase Vagrant memory

WordPress is very heavy on your Vagrant.
It caused by few memory.

Let’s increase memory on your Vagrant.

step01
Open your Vagrantfile.

step02
Find the following line about changing memory below.

  # config.vm.provider "virtualbox" do |vb|
  #   # Display the VirtualBox GUI when booting the machine
  #   vb.gui = true
  #
  #   # Customize the amount of memory on the VM:
  #   vb.memory = "1024"
  # end

step03
Change the line as below.
vb.memory means Vagrant memory.
If you Change this number , you can increase your Vagrant memory.

   config.vm.provider "virtualbox" do |vb|
  #   # Display the VirtualBox GUI when booting the machine
  #   vb.gui = true
  #
  #   # Customize the amount of memory on the VM:
     vb.memory = "2048"
   end

step04
Save your Vagrantfile & restart Vagrant on your Terminal.

vagrant halt
vagrant up

Your local wordpress will be fast.

vagrant