From 65af9641c229858322ce92c9291fcf0d8a720e29 Mon Sep 17 00:00:00 2001 From: Isaac Brown Date: Fri, 14 Apr 2017 09:03:57 -0700 Subject: [PATCH] fix(packaging): increased buffer size (#15840) --- tools/gulp-tasks/build.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/gulp-tasks/build.js b/tools/gulp-tasks/build.js index e8d94013da..5d724f233d 100644 --- a/tools/gulp-tasks/build.js +++ b/tools/gulp-tasks/build.js @@ -2,5 +2,6 @@ module.exports = (gulp) => (done) => { const path = require('path'); const childProcess = require('child_process'); - childProcess.exec(path.join(__dirname, '../../build.sh'), done); + // increase maxbuffer to address out of memory exception when running certain tasks + childProcess.exec(path.join(__dirname, '../../build.sh'), {maxBuffer: 300 * 1024}, done); };