File tree 3 files changed +7
-0
lines changed
3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1219,6 +1219,7 @@ V8 options that are allowed are:
1219
1219
<!-- node-options-v8 start -->
1220
1220
* ` --abort-on-uncaught-exception `
1221
1221
* ` --disallow-code-generation-from-strings `
1222
+ * ` --huge-max-old-generation-size `
1222
1223
* ` --interpreted-frames-native-stack `
1223
1224
* ` --jitless `
1224
1225
* ` --max-old-space-size `
Original file line number Diff line number Diff line change @@ -578,6 +578,11 @@ PerIsolateOptionsParser::PerIsolateOptionsParser(
578
578
" disallow eval and friends" ,
579
579
V8Option{},
580
580
kAllowedInEnvironment );
581
+ AddOption (" --huge-max-old-generation-size" ,
582
+ " increase default maximum heap size on machines with 16GB memory "
583
+ " or more" ,
584
+ V8Option{},
585
+ kAllowedInEnvironment );
581
586
AddOption (" --jitless" ,
582
587
" disable runtime allocation of executable memory" ,
583
588
V8Option{},
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ if (common.hasCrypto) {
67
67
// V8 options
68
68
expect ( '--abort_on-uncaught_exception' , 'B\n' ) ;
69
69
expect ( '--disallow-code-generation-from-strings' , 'B\n' ) ;
70
+ expect ( '--huge-max-old-generation-size' , 'B\n' ) ;
70
71
expect ( '--jitless' , 'B\n' ) ;
71
72
expect ( '--max-old-space-size=0' , 'B\n' ) ;
72
73
expect ( '--stack-trace-limit=100' ,
You can’t perform that action at this time.
0 commit comments