File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -3452,7 +3452,11 @@ documented here:
3452
3452
3453
3453
### ` --perf-prof-unwinding-info `
3454
3454
3455
- ### ` --max-old-space-size=SIZE ` (in megabytes)
3455
+ <!-- Anchor to make sure old links find a target -->
3456
+
3457
+ <a id =" --max-old-space-sizesize-in-megabytes " ></a >
3458
+
3459
+ ### ` --max-old-space-size=SIZE ` (in MiB)
3456
3460
3457
3461
Sets the max memory size of V8's old memory section. As memory
3458
3462
consumption approaches the limit, V8 will spend more time on
@@ -3465,10 +3469,14 @@ On a machine with 2 GiB of memory, consider setting this to
3465
3469
node --max-old-space-size=1536 index.js
3466
3470
```
3467
3471
3468
- ### ` --max-semi-space-size=SIZE ` (in megabytes)
3472
+ <!-- Anchor to make sure old links find a target -->
3473
+
3474
+ <a id =" --max-semi-space-sizesize-in-megabytes " ></a >
3475
+
3476
+ ### ` --max-semi-space-size=SIZE ` (in MiB)
3469
3477
3470
3478
Sets the maximum [ semi-space] [ ] size for V8's [ scavenge garbage collector] [ ] in
3471
- MiB (megabytes ).
3479
+ MiB (mebibytes ).
3472
3480
Increasing the max size of a semi-space may improve throughput for Node.js at
3473
3481
the cost of more memory consumption.
3474
3482
Original file line number Diff line number Diff line change @@ -1500,8 +1500,8 @@ thread spawned will spawn another until the application crashes.
1500
1500
[` 'close'` event ]: #event - close
1501
1501
[` 'exit'` event ]: #event - exit
1502
1502
[` 'online'` event ]: #event - online
1503
- [` --max-old-space-size` ]: cli .md #-- max- old- space- sizesize- in - megabytes
1504
- [` --max-semi-space-size` ]: cli .md #-- max- semi- space- sizesize- in - megabytes
1503
+ [` --max-old-space-size` ]: cli .md #-- max- old- space- sizesize- in - mib
1504
+ [` --max-semi-space-size` ]: cli .md #-- max- semi- space- sizesize- in - mib
1505
1505
[` ArrayBuffer` ]: https: // developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
1506
1506
[` AsyncResource` ]: async_hooks .md #class - asyncresource
1507
1507
[` Buffer.allocUnsafe()` ]: buffer .md #static - method- bufferallocunsafesize
You can’t perform that action at this time.
0 commit comments