From 943f9b29ec5dedf44cc0a749b40916df6be035d6 Mon Sep 17 00:00:00 2001 From: Dominik Prokop Date: Wed, 19 Feb 2020 12:18:36 +0100 Subject: [PATCH] CircleCI: Increase nodejs max memory (#22295) * Increase nodejs max memory * Indentation * Update .circleci/config.yml Co-Authored-By: Arve Knudsen * Update .circleci/config.yml Co-Authored-By: Arve Knudsen Co-authored-by: Arve Knudsen --- .circleci/config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 65180b66eaf..6bd7334cb7d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -100,6 +100,10 @@ jobs: - attach_workspace: at: /tmp/workspace - checkout + - run: + name: Increase node memory + command: | + export NODE_OPTIONS=--max_old_space_size=4096 - run: name: CI job started command: ./scripts/ci-job-started.sh @@ -1168,6 +1172,10 @@ jobs: working_directory: /go/src/github.com/grafana/grafana steps: - checkout + - run: + name: Increase node memory + command: | + export NODE_OPTIONS=--max_old_space_size=4096 - run: name: prepare build tools command: '/tmp/bootstrap.sh'