2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-04 08:47:37 +08:00

Add memory to VM

This commit is contained in:
Simon Cossar 2015-04-14 18:43:49 -07:00
parent 9191fbe9fb
commit 6fc7371079

2
Vagrantfile vendored
View file

@ -17,7 +17,7 @@ Vagrant.configure("2") do |config|
config.vm.provider :virtualbox do |v|
# This setting gives the VM 1024MB of RAM instead of the default 384.
v.customize ["modifyvm", :id, "--memory", [ENV['DISCOURSE_VM_MEM'].to_i, 1024].max]
v.customize ["modifyvm", :id, "--memory", [ENV['DISCOURSE_VM_MEM'].to_i, 2048].max]
# Who has a single core cpu these days anyways?
cpu_count = 2