Skip to content

Commit 4cd291a

Browse files
committed
Increase maximum memory for building
1 parent cafbdd3 commit 4cd291a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/build/build-vscode.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ EOF
112112
# this because we have an NPM package that could be installed on any platform.
113113
# The correct platform dependencies and scripts will be installed as part of
114114
# the post-install during `npm install` or when building a standalone release.
115-
npm run gulp "vscode-reh-web-linux-x64${MINIFY:+-min}"
115+
node --max-old-space-size=16384 --optimize-for-size \
116+
./node_modules/gulp/bin/gulp.js \
117+
"vscode-reh-web-linux-x64${MINIFY:+-min}"
116118

117119
# Reset so if you develop after building you will not be stuck with the wrong
118120
# commit (the dev client will use `oss-dev` but the dev server will still use

0 commit comments

Comments
 (0)