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 @@ -1220,6 +1220,7 @@ V8 options that are allowed are:
1220
1220
<!-- node-options-v8 start -->
1221
1221
* ` --abort-on-uncaught-exception `
1222
1222
* ` --disallow-code-generation-from-strings `
1223
+ * ` --huge-max-old-generation-size `
1223
1224
* ` --interpreted-frames-native-stack `
1224
1225
* ` --jitless `
1225
1226
* ` --max-old-space-size `
Original file line number Diff line number Diff line change @@ -609,6 +609,11 @@ PerIsolateOptionsParser::PerIsolateOptionsParser(
609
609
" disallow eval and friends" ,
610
610
V8Option{},
611
611
kAllowedInEnvironment );
612
+ AddOption (" --huge-max-old-generation-size" ,
613
+ " increase default maximum heap size on machines with 16GB memory "
614
+ " or more" ,
615
+ V8Option{},
616
+ kAllowedInEnvironment );
612
617
AddOption (" --jitless" ,
613
618
" disable runtime allocation of executable memory" ,
614
619
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