Skip to content

Commit d7b3f33

Browse files
authored
Fix Tianji: Add heap-space value for nodejs (#2011)
1 parent 88daaed commit d7b3f33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ct/tianji.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ function update_script() {
4545
unzip -q v${RELEASE}.zip
4646
mv tianji-${RELEASE} /opt/tianji
4747
cd tianji
48+
export NODE_OPTIONS="--max_old_space_size=4096"
4849
pnpm install --filter @tianji/client... --config.dedupe-peer-dependents=false --frozen-lockfile >/dev/null 2>&1
4950
pnpm build:static >/dev/null 2>&1
5051
pnpm install --filter @tianji/server... --config.dedupe-peer-dependents=false >/dev/null 2>&1

0 commit comments

Comments
 (0)