diff --git a/.circleci/config.yml b/.circleci/config.yml index 8b0481585d..8aed41cc79 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -92,6 +92,8 @@ jobs: environment: <<: *ENVIRONMENT GOTAGS: "" # No tags for OSS but there are for enterprise + # GOMAXPROCS defaults to number of cores on underlying hardware, set explicitly to avoid OOM issues https://support.circleci.com/hc/en-us/articles/360034684273-common-GoLang-memory-issues + GOMAXPROCS: 2 # medium (default) boxes are 2 vCPUs, 4GB RAM https://circleci.com/docs/2.0/configuration-reference/#docker-executor steps: - checkout - restore_cache: # restore cache from earlier job