diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2017-09-12 16:14:35 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2017-09-12 16:14:35 +0000 |
commit | b4fd83376d452ab8658bc1627ab89de15566a843 (patch) | |
tree | f673c9ed85d330c9258e731024d3c6d77757b497 /jenkins-helpers.sh | |
parent | 4db05b3bece5dbef0a2fb494af6893d9aef560f8 (diff) |
jenkins-helpers.sh: Increase RAM allocation for build containers
We have reduced executors from 4 to 3 on builders that have 32GB RAM.
Increasing RAM limit should help with bigger file caches.
Change-Id: I5e6f06c23b1f7130ac227075da4f247542627e72
Diffstat (limited to 'jenkins-helpers.sh')
-rw-r--r-- | jenkins-helpers.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jenkins-helpers.sh b/jenkins-helpers.sh index 96e05404..86b80a3c 100644 --- a/jenkins-helpers.sh +++ b/jenkins-helpers.sh @@ -293,8 +293,8 @@ print_memory_limit () local weight="$2" local memory case "$task" in - build) memory=$(( $weight * 7500 )) ;; # 7.5GB per executor - test) memory=$(( $weight * 750 )) ;; # 0.75GB per executor + build) memory=$(( $weight * 10000 )) ;; # 10GB per executor + test) memory=$(( $weight * 750 )) ;; # 0.75GB per session esac echo "$memory" ) |