Adapt script: more memory required for test-suite
This commit is contained in:
parent
7e7434bd09
commit
01d9812483
1 changed files with 2 additions and 2 deletions
4
vagrantSandbox/Vagrantfile
vendored
4
vagrantSandbox/Vagrantfile
vendored
|
@ -4,7 +4,7 @@
|
||||||
Vagrant.configure("2") do |config|
|
Vagrant.configure("2") do |config|
|
||||||
config.vm.synced_folder "..", "/FOAM-sources"
|
config.vm.synced_folder "..", "/FOAM-sources"
|
||||||
|
|
||||||
config.vm.hostname="vagrant."+ (ENV["HOSTNAME"] || `hostname`)
|
config.vm.hostname="vagrant."+ (ENV["HOSTNAME"] || `hostname`.strip)
|
||||||
|
|
||||||
nrCPU=1
|
nrCPU=1
|
||||||
if ENV["WM_VAGRANT_CPUS"]
|
if ENV["WM_VAGRANT_CPUS"]
|
||||||
|
@ -26,7 +26,7 @@ Vagrant.configure("2") do |config|
|
||||||
# vb.customize ["modifyvm", :id, "--memory", "1024"]
|
# vb.customize ["modifyvm", :id, "--memory", "1024"]
|
||||||
vb.cpus=nrCPU
|
vb.cpus=nrCPU
|
||||||
# make sure each CPU has enough memory (at least 1.5 Gig)
|
# make sure each CPU has enough memory (at least 1.5 Gig)
|
||||||
vb.memory=512*[(1+nrCPU),3].max
|
vb.memory=512*[(1+nrCPU),4].max
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.define :trusty do |trusty|
|
config.vm.define :trusty do |trusty|
|
||||||
|
|
Reference in a new issue