Run garbage collection more aggressively

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
Simon Pasquier 2019-06-19 11:18:10 +02:00
parent 0c3120efac
commit 5f881d6d8e
1 changed files with 5 additions and 1 deletions

View File

@ -43,7 +43,11 @@ jobs:
username: user username: user
password: pass password: pass
EOF EOF
- run: make - run:
command: make
environment:
# Run garbage collection more aggresively to avoid getting OOMed.
GOGC: "20"
- run: - run:
command: | 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 curl -s -L https://github.com/protocolbuffers/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip > /tmp/protoc.zip