Skip to content

Commit a5b1c47

Browse files
authored
Update rebuild-app.js set GC
1 parent b229387 commit a5b1c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/rebuild-app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
const { exec } = require('child_process');
66

77
module.exports = () => new Promise((resolve, reject) => {
8-
const buildProcess = exec('npm run build'); // Trigger the build command
8+
const buildProcess = exec('NODE_OPTIONS="--max-old-space-size=512" npm run build'); // Trigger the build command
99

1010
let output = ''; // Will store console output
1111

0 commit comments

Comments
 (0)