Skip to content

Commit 695115a

Browse files
committed
src: increase default semi space size to 64mb
Refs: nodejs/performance#67
1 parent 13767a4 commit 695115a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/node.cc

+2
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,8 @@ static ExitCode InitializeNodeWithArgsInternal(
779779
// is security relevant, for Node it's less important.
780780
V8::SetFlagsFromString("--no-freeze-flags-after-init");
781781

782+
V8::SetFlagsFromString("--max_semi_space_size=64");
783+
782784
#if defined(NODE_V8_OPTIONS)
783785
// Should come before the call to V8::SetFlagsFromCommandLine()
784786
// so the user can disable a flag --foo at run-time by passing

0 commit comments

Comments
 (0)