From e394df83a5709459df61163f68b9982f0c2ee80d Mon Sep 17 00:00:00 2001 From: Lucas Bickel Date: Tue, 7 Mar 2017 12:18:34 +0100 Subject: [PATCH] Grab 1GB of memory on vagrant --- Vagrantfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 8f4b84c86..9ef861488 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -8,6 +8,11 @@ Vagrant.configure("2") do |config| config.vm.network "forwarded_port", guest: 80, host:8080 config.vm.network "forwarded_port", guest: 8888, host:8888 + config.vm.provider "virtualbox" do |v| + # to run without OOMing we need at least 1GB of RAM + v.memory = 1024 + end + config.vm.provision "shell", inline: "cd /vagrant; ./install -fIap" config.vm.provision "shell", path: "docs/scripts/install.sh" config.vm.provision "shell", path: "docs/scripts/serve.sh"