From 3d72ebd876bfd0e0c7a373fe054ec49694987b30 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Thu, 24 Sep 2015 10:04:59 -0400 Subject: [PATCH] [test] Give vagrant boxes 2gb of ram This lets them run our tests without oomkiller getting angry. --- Vagrantfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index dcc33bc8f5f..ab0e3224015 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -83,6 +83,10 @@ Vagrant.configure(2) do |config| # the elasticsearch project called vagrant.... config.vm.synced_folder ".", "/vagrant", disabled: true config.vm.synced_folder ".", "/elasticsearch" + config.vm.provider "virtualbox" do |v| + # Give the boxes 2GB so they can run our tests if they have to. + v.memory = 2048 + end if Vagrant.has_plugin?("vagrant-cachier") config.cache.scope = :box end