~/talk

How to Track Memory in V8?

TalkinRussianat HolyJS 2024 Autumn · 2024-11-07..11-15· [nodejs, web-performance]
links:none on file
slides:none on file

Shows how to use Node.js built-in modules node:v8, node:inspector and node:perf_hooks together with Chrome DevTools to build performance and memory-tracking metrics. Explains how to collect GC and other runtime data, use those metrics in tests, and detect or predict memory leaks in Node.js applications.

AI-written summary · about

  1. 0:00Introduction
  2. 2:55JavaScript and V8 memory
  3. 5:03V8 garbage collector
  4. 7:28GC metrics analysis
  5. 10:21Node.js memory tools
  6. 13:11Heap snapshot library
  7. 15:38Memory metrics with gc-stats
  8. 21:40Generational memory theory
  9. 23:48V8 memory optimization flags
  10. 25:59Memory leak analysis
  11. 27:24Memory snapshots
  12. 28:51Memory testing approaches
  13. 32:47Query objects for testing
  14. 37:24Alternative memory testing
  15. 39:11Key memory tools and metrics
  16. 41:01Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.