From d98cf02a3daab7f2b16cffed53e93928f86cb5be Mon Sep 17 00:00:00 2001 From: italo jose Date: Thu, 20 Mar 2025 12:32:03 -0300 Subject: [PATCH] =?UTF-8?q?log:=20adding=20=E2=80=93max=5Fold=5Fspace=5Fsi?= =?UTF-8?q?ze=20warn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/tool-env/profile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tool-env/profile.ts b/tools/tool-env/profile.ts index e058562e95..94c7c288ce 100644 --- a/tools/tool-env/profile.ts +++ b/tools/tool-env/profile.ts @@ -413,7 +413,7 @@ function startInspectorProfiling(name: string): boolean { // Adjust the heap limit to avoid OOM if (process.env.NODE_OPTIONS && !process.env.NODE_OPTIONS.includes('--max-old-space-size')) { - process.stdout.write('[PROFILING_START] WARN: Recommended to set NODE_OPTIONS="--max-old-space-size=4096" to avoid OOM\n'); + process.stdout.write('[PROFILING_START] WARN: Recommended to set TOOL_NODE_FLAGS="–max_old_space_size=4096" to avoid OOM\n'); } profileStartTime = Date.now();