mirror of https://github.com/coder/code-server.git
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.
This commit is contained in:
parent
530bb66d7c
commit
592973c1bb
|
@ -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"],
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue