Skip to content

Commit 37e7eca

Browse files
authored
CI dashboard tests should garbage-collect earlier. (#3803)
Signed-off-by: Michael Nelson <minelson@vmware.com>
1 parent 65cb165 commit 37e7eca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,8 +598,9 @@ jobs:
598598
test_dashboard:
599599
environment:
600600
# Note that the max old space setting is per worker, so running the tests
601-
# with 4 workers on a 4Gb (free plan) needs 1Gb of max old space.
602-
NODE_OPTIONS: "--max-old-space-size=1024"
601+
# with 4 workers on a 4Gb (free plan) needs 1Gb of max old space. Forcing
602+
# garbage collection to start earlier with 512M per worker.
603+
NODE_OPTIONS: "--max-old-space-size=512"
603604
docker:
604605
- image: circleci/node:<< pipeline.parameters.NODE_VERSION >>
605606
steps:

0 commit comments

Comments
 (0)