From 592973c1bbea7c948fc80a43e3416048ddcdeb5e Mon Sep 17 00:00:00 2001 From: Asher Date: Mon, 18 Jul 2022 16:37:35 -0500 Subject: [PATCH] fix: remove default memory limit (#5355) Having NODE_OPTIONS set is unexpected and although the later flag should override the previous flag it is not certain that will always be the case. Also some users are having issues with the 2 GB limit. --- src/node/wrapper.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/node/wrapper.ts b/src/node/wrapper.ts index 40540d3b7..cf64f5741 100644 --- a/src/node/wrapper.ts +++ b/src/node/wrapper.ts @@ -322,7 +322,6 @@ export class ParentProcess extends Process { env: { ...process.env, CODE_SERVER_PARENT_PID: process.pid.toString(), - NODE_OPTIONS: `--max-old-space-size=2048 ${process.env.NODE_OPTIONS || ""}`, }, stdio: ["pipe", "pipe", "pipe", "ipc"], })