From 7353fb4090be840338ab82049c221d038f44ed4e Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 30 Nov 2019 09:28:36 +1100 Subject: [PATCH] Vagrantfile: allocate more memory for VMs compiling moc/moc_QGCMapEngine.cpp cc1plus: out of memory allocating 737010184 bytes after a total of 52228096 bytes --- Vagrantfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index e6926ea29..2e5dce434 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -20,13 +20,13 @@ Vagrant.configure(2) do |config| override.vm.box = "tknerr/baseimage-ubuntu-16.04" end config.vm.provider :virtualbox do |vb| - vb.customize ["modifyvm", :id, "--memory", "4096"] + vb.customize ["modifyvm", :id, "--memory", "6144"] vb.customize ["modifyvm", :id, "--cpus", "1"] vb.gui = true end ["vmware_fusion", "vmware_workstation"].each do |p| config.vm.provider p do |v| - v.vmx["memsize"] = "4096" + v.vmx["memsize"] = "6144" v.vmx["numvcpus"] = "1" v.gui = true end -- 2.22.0