@@ -1726,6 +1726,22 @@ changes:
17261726
17271727Specify the maximum size, in bytes, of HTTP headers. Defaults to 16 KiB.
17281728
1729+ ### ` --max-old-space-size-percentage=PERCENTAGE `
1730+
1731+ Sets the max memory size of V8's old memory section as a percentage of available system memory.
1732+ This flag takes precedence over ` --max-old-space-size ` when both are specified.
1733+
1734+ The ` PERCENTAGE ` parameter must be a number greater than 0 and up to 100. representing the percentage
1735+ of available system memory to allocate to the V8 heap.
1736+
1737+ ``` bash
1738+ # Using 50% of available system memory
1739+ node --max-old-space-size-percentage=50 index.js
1740+
1741+ # Using 75% of available system memory
1742+ node --max-old-space-size-percentage=75 index.js
1743+ ```
1744+
17291745### ` --napi-modules `
17301746
17311747<!-- YAML
@@ -3871,22 +3887,6 @@ documented here:
38713887
38723888### ` --jitless `
38733889
3874- ### ` --max-old-space-size-percentage=PERCENTAGE `
3875-
3876- Sets the max memory size of V8's old memory section as a percentage of available system memory.
3877- This flag takes precedence over ` --max-old-space-size ` when both are specified.
3878-
3879- The ` PERCENTAGE ` parameter must be a number greater than 0 and up to 100. representing the percentage
3880- of available system memory to allocate to the V8 heap.
3881-
3882- ``` bash
3883- # Using 50% of available system memory
3884- node --max-old-space-size-percentage=50 index.js
3885-
3886- # Using 75% of available system memory
3887- node --max-old-space-size-percentage=75 index.js
3888- ```
3889-
38903890<!-- Anchor to make sure old links find a target -->
38913891
38923892<a id =" --max-old-space-sizesize-in-megabytes " ></a >
0 commit comments