Skip to content

Commit 8a25405

Browse files
cjihrigdanielleadams
authored andcommitted
doc: fix accommodate typos
PR-URL: #37229 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Pooja D P <Pooja.D.P@ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
1 parent 337b4e7 commit 8a25405

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/api/cli.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ Node.js instance runs out of memory when `max_count` is greater than `0`.
355355

356356
Generating V8 snapshots takes time and memory (both memory managed by the
357357
V8 heap and native memory outside the V8 heap). The bigger the heap is,
358-
the more resources it needs. Node.js will adjust the V8 heap to accommondate
358+
the more resources it needs. Node.js will adjust the V8 heap to accommodate
359359
the additional V8 heap memory overhead, and try its best to avoid using up
360360
all the memory available to the process. When the process uses
361361
more memory than the system deems appropriate, the process may be terminated

doc/changelogs/CHANGELOG_V15.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1097,7 +1097,7 @@ With the new `--heapsnapshot-near-heap-limit=max_count` experimental command lin
10971097

10981098
When generating snapshots, garbage collection may be triggered and bring the heap usage down, therefore multiple snapshots may be written to disk before the Node.js instance finally runs out of memory. These heap snapshots can be compared to determine what objects are being allocated during the time consecutive snapshots are taken.
10991099

1100-
Generating V8 snapshots takes time and memory (both memory managed by the V8 heap and native memory outside the V8 heap). The bigger the heap is, the more resources it needs. Node.js will adjust the V8 heap to accommondate the additional V8 heap memory overhead, and try its best to avoid using up all the memory avialable to the process.
1100+
Generating V8 snapshots takes time and memory (both memory managed by the V8 heap and native memory outside the V8 heap). The bigger the heap is, the more resources it needs. Node.js will adjust the V8 heap to accommodate the additional V8 heap memory overhead, and try its best to avoid using up all the memory avialable to the process.
11011101

11021102
```console
11031103
$ node --max-old-space-size=100 --heapsnapshot-near-heap-limit=3 index.js

0 commit comments

Comments
 (0)