Skip to content

Commit

Permalink
chore: change to console instead of shell-session
Browse files Browse the repository at this point in the history
  • Loading branch information
ovflowd committed Oct 14, 2023
1 parent b710115 commit c9d798f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pages/en/blog/release/v15.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ When generating snapshots, garbage collection may be triggered and bring the hea

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.

```shell-session
```console
$ node --max-old-space-size=100 --heapsnapshot-near-heap-limit=3 index.js
Wrote snapshot to Heap.20200430.100036.49580.0.001.heapsnapshot
Wrote snapshot to Heap.20200430.100037.49580.0.002.heapsnapshot
Expand Down
2 changes: 1 addition & 1 deletion pages/en/blog/release/v18.16.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ author: Danielle Adams

Compile a JavaScript file into a single executable application:

```shell-session
```console
$ echo 'console.log(`Hello, ${process.argv[2]}!`);' > hello.js

$ cp $(command -v node) hello
Expand Down

0 comments on commit c9d798f

Please sign in to comment.