Skip to content

Commit 587b9e8

Browse files
fix: update location of using-heap-snapshot.md (#6029)
1 parent fecdbb4 commit 587b9e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: pages/en/docs/guides/diagnostics/memory/using-gc-traces.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ But how could we spot the context?
189189

190190
### How to get the context of bad allocations
191191

192-
1. Suppose we observe that the old space is continously increasing.
192+
1. Suppose we observe that the old space is continuously increasing.
193193
2. Reduce [`--max-old-space-size`][] such that the total heap is closer to the limit
194194
3. Run the program until you hit the out of memory.
195195
4. The produced log shows the failing context.
@@ -226,7 +226,7 @@ should be that the last GC trace will contain a bigger heap size.
226226
[40977:0x128008000] 2066 ms: Mark-sweep (reduce) 99.6 (102.5) -> 99.6 (102.5) MB, 46.7 / 0.0 ms (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 47 ms) (average mu = 0.154, current mu = 0.155) allocati[40977:0x128008000] 2123 ms: Mark-sweep (reduce) 99.6 (102.5) -> 99.6 (102.5) MB, 47.7 / 0.0 ms (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 48 ms) (average mu = 0.165, current mu = 0.175) allocati
227227
```
228228

229-
> Note: In the context of real application, it could be cumbersome to find the leaked object in the code. Heap snpashot could help you to find it. Visit the [guide dedicated to heap snapshot][]
229+
> Note: In the context of real application, it could be cumbersome to find the leaked object in the code. Heap snapshot could help you to find it. Visit the [guide dedicated to heap snapshot][]
230230
231231
### Slowness
232232

@@ -393,7 +393,7 @@ For more information, you can refer to
393393
[`--max-old-space-size`]: https://nodejs.org/api/cli.html#--max-old-space-sizesize-in-megabytes
394394
[performance hooks]: https://nodejs.org/api/perf_hooks.html
395395
[exercise]: https://github.com/nodejs/diagnostics/tree/main/documentation/memory/step3/exercise
396-
[guide dedicated to heap snapshot]: https://github.com/nodejs/nodejs.org/blob/main/locale/en/docs/guides/diagnostics/memory/using-heap-snapshot.md#how-to-find-a-memory-leak-with-heap-snapshots
396+
[guide dedicated to heap snapshot]: https://github.com/nodejs/nodejs.org/blob/main/pages/en/docs/guides/diagnostics/memory/using-heap-snapshot.md#how-to-find-a-memory-leak-with-heap-snapshots
397397
[document]: https://github.com/thlorenz/v8-perf/blob/master/gc.md#marking-state
398398
[Scavenge scenario]: https://github.com/thlorenz/v8-perf/blob/master/gc.md#sample-scavenge-scenario
399399
[talk of Peter Marshall]: https://v8.dev/blog/trash-talk

0 commit comments

Comments
 (0)