From 5f881d6d8e7774849a57e920d3f95b278cd04d39 Mon Sep 17 00:00:00 2001 From: Simon Pasquier Date: Wed, 19 Jun 2019 11:18:10 +0200 Subject: [PATCH] Run garbage collection more aggressively Signed-off-by: Simon Pasquier --- .circleci/config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d478c1f1..d2afb3c5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -43,7 +43,11 @@ jobs: username: user password: pass EOF - - run: make + - run: + command: make + environment: + # Run garbage collection more aggresively to avoid getting OOMed. + GOGC: "20" - run: command: | curl -s -L https://github.com/protocolbuffers/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip > /tmp/protoc.zip