File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5031,9 +5031,10 @@ changes:
5031
5031
5032
5032
* {integer} The largest size allowed for a single ` Buffer ` instance.
5033
5033
5034
- On 32-bit architectures, this value currently is 2<sup >30</sup > - 1 (~ 1 GB).
5034
+ On 32-bit architectures, this value currently is 2<sup >30</sup > - 1 (about 1
5035
+ GB).
5035
5036
5036
- On 64-bit architectures, this value currently is 2<sup >32</sup > (~ 4 GB).
5037
+ On 64-bit architectures, this value currently is 2<sup >32</sup > (about 4 GB).
5037
5038
5038
5039
It reflects [ ` v8::TypedArray::kMaxLength ` ] [ ] under the hood.
5039
5040
Original file line number Diff line number Diff line change @@ -100,8 +100,8 @@ Leaks can be introduced in native addons and the following is a simple
100
100
example leak based on the "Hello world" addon from
101
101
[ node-addon-examples] ( https://github.com/nodejs/node-addon-examples ) .
102
102
103
- In this example, a loop which allocates ~ 1 MB of memory and never frees it
104
- has been added:
103
+ In this example, a loop which allocates approximately 1 MB of memory and never
104
+ frees it has been added:
105
105
106
106
``` cpp
107
107
void * malloc_holder = nullptr ;
You can’t perform that action at this time.
0 commit comments