From 55e4941c5e3b55fc74c6b2091d3835fdcd976193 Mon Sep 17 00:00:00 2001 From: Joe Beda Date: Wed, 29 Jul 2015 13:10:37 -0700 Subject: [PATCH] Fix up memory requirements for release w/ boot2docker. --- hack/lib/golang.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh index 367ef9fa59f..839498c5a16 100644 --- a/hack/lib/golang.sh +++ b/hack/lib/golang.sh @@ -104,10 +104,16 @@ readonly KUBE_CLIENT_PLATFORMS=( windows/amd64 ) -# Gigabytes desired for parallel platform builds. 8 is fairly +# Gigabytes desired for parallel platform builds. 11 is fairly # arbitrary, but is a reasonable splitting point for 2015 # laptops-versus-not. -readonly KUBE_PARALLEL_BUILD_MEMORY=8 +# +# If you are using boot2docker, the following seems to work (note +# that 12000 rounds to 11G): +# boot2docker down +# VBoxManage modifyvm boot2docker-vm --memory 12000 +# boot2docker up +readonly KUBE_PARALLEL_BUILD_MEMORY=11 readonly KUBE_ALL_TARGETS=( "${KUBE_SERVER_TARGETS[@]}"