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); };