mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-26 13:19:34 +07:00
🔧 chore: increase NODE_OPTIONS memory limit to 8GB across configurations
- Updated NODE_OPTIONS from 6144MB to 8192MB in Dockerfile, package.json scripts, GitHub workflows, and environment configurations. - Ensured consistent memory allocation for builds and tests to improve performance. Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -89,7 +89,7 @@ const build = async () => {
|
||||
cwd: TEMP_DIR,
|
||||
env: {
|
||||
...process.env,
|
||||
NODE_OPTIONS: process.env.NODE_OPTIONS || '--max-old-space-size=6144',
|
||||
NODE_OPTIONS: process.env.NODE_OPTIONS || '--max-old-space-size=8192',
|
||||
},
|
||||
stdio: 'inherit',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user