Skip to content

Commit 592973c

Browse files
authored
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.
1 parent 530bb66 commit 592973c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/node/wrapper.ts

-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@ export class ParentProcess extends Process {
322322
env: {
323323
...process.env,
324324
CODE_SERVER_PARENT_PID: process.pid.toString(),
325-
NODE_OPTIONS: `--max-old-space-size=2048 ${process.env.NODE_OPTIONS || ""}`,
326325
},
327326
stdio: ["pipe", "pipe", "pipe", "ipc"],
328327
})

0 commit comments

Comments
 (0)