From 9f1c82537ea46781df443bf10251333d55ab6d65 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 23 Sep 2016 14:04:29 -0700 Subject: [PATCH] ci(travis): increase node's heap size to prevent OOM on travis (#11869) --- scripts/ci-lite/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci-lite/build.sh b/scripts/ci-lite/build.sh index 1c6f2f91ab..5510b9e1dc 100755 --- a/scripts/ci-lite/build.sh +++ b/scripts/ci-lite/build.sh @@ -12,7 +12,7 @@ cd ../.. $(npm bin)/tsc -v $(npm bin)/tsc -p tools cp tools/@angular/tsc-wrapped/package.json dist/tools/@angular/tsc-wrapped -node dist/tools/@angular/tsc-wrapped/src/main -p modules +node --max-old-space-size=3000 dist/tools/@angular/tsc-wrapped/src/main -p modules node dist/tools/@angular/tsc-wrapped/src/main -p modules/@angular/core/tsconfig-build.json node dist/tools/@angular/tsc-wrapped/src/main -p modules/@angular/common/tsconfig-build.json node dist/tools/@angular/tsc-wrapped/src/main -p modules/@angular/router/tsconfig-build.json