Skip to content

Commit 2824adb

Browse files
committed
1 parent e2148d7 commit 2824adb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/api/buffer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5031,9 +5031,9 @@ changes:
50315031

50325032
* {integer} The largest size allowed for a single `Buffer` instance.
50335033

5034-
On 32-bit architectures, this value currently is 2<sup>30</sup> - 1 (~1GB).
5034+
On 32-bit architectures, this value currently is 2<sup>30</sup> - 1 (about 1GB).
50355035

5036-
On 64-bit architectures, this value currently is 2<sup>32</sup> (~4GB).
5036+
On 64-bit architectures, this value currently is 2<sup>32</sup> (about 4GB).
50375037

50385038
It reflects [`v8::TypedArray::kMaxLength`][] under the hood.
50395039

doc/guides/investigating_native_memory_leak.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ Leaks can be introduced in native addons and the following is a simple
100100
example leak based on the "Hello world" addon from
101101
[node-addon-examples](https://github.com/nodejs/node-addon-examples).
102102

103-
In this example, a loop which allocates ~1MB of memory and never frees it
104-
has been added:
103+
In this example, a loop which allocates approximately 1MB of memory and never
104+
frees it has been added:
105105

106106
```cpp
107107
void* malloc_holder = nullptr;

0 commit comments

Comments
 (0)