diff --git a/src/node.cc b/src/node.cc index 2aba7333d92513..7fcc60cf4668dd 100644 --- a/src/node.cc +++ b/src/node.cc @@ -779,6 +779,8 @@ static ExitCode InitializeNodeWithArgsInternal( // is security relevant, for Node it's less important. V8::SetFlagsFromString("--no-freeze-flags-after-init"); + V8::SetFlagsFromString("--max_semi_space_size=64"); + #if defined(NODE_V8_OPTIONS) // Should come before the call to V8::SetFlagsFromCommandLine() // so the user can disable a flag --foo at run-time by passing