Skip to content

Commit 65ff7f3

Browse files
committed
increase available memory for the javascript vm
coder/code-server#7418
1 parent 3fa5cc6 commit 65ff7f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

codeserver/ubi9-python-3.12/get_code_server_rpm.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ if [[ "$ARCH" == "amd64" || "$ARCH" == "arm64" ||"$ARCH" == "ppc64le" ]]; then
6666
nvm use ${NODE_VERSION}
6767
npm install
6868
npm run build
69+
# https://github.com/coder/code-server/pull/7418
70+
export NODE_OPTIONS="--max-old-space-size=16384"
6971
VERSION=${CODESERVER_VERSION/v/} npm run build:vscode
7072
npm run release
7173
npm run release:standalone

0 commit comments

Comments
 (0)