$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Memory Chronicles: Manage, Trace and Fix Memory...
Search
Giovanny Gongora
December 12, 2019
Technology
0
140
Memory Chronicles: Manage, Trace and Fix Memory Leaks
Talk at Node+JS Interactive 2019
Giovanny Gongora
December 12, 2019
Tweet
Share
More Decks by Giovanny Gongora
See All by Giovanny Gongora
Profile & Analyze Node.js Applications
gioyik
0
110
Node.js Contributor Workshop
gioyik
0
90
Profile & Analyze Node.js Applications like a Pro
gioyik
1
80
Leak Hunting - Finding and debugging a memory leak in Nodejs.pdf
gioyik
1
940
Finding and debugging a memory leak in Node.js
gioyik
0
190
Road to LISP heaven
gioyik
1
120
Leak Hunting: Finding and debugging a memory leak in Node.js
gioyik
0
550
Performance first: Node.js and Rust
gioyik
0
190
Time for Growth
gioyik
0
140
Other Decks in Technology
See All in Technology
Digitization部 紹介資料
sansan33
PRO
1
6.1k
小さな判断で育つ、大きな意思決定力 / 20251204 Takahiro Kinjo
shift_evolve
PRO
1
320
Oracle Cloud Infrastructure:2025年11月度サービス・アップデート
oracle4engineer
PRO
1
120
AI駆動開発によるDDDの実践
dip_tech
PRO
0
290
Master Dataグループ紹介資料
sansan33
PRO
1
4k
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
980
Product Engineer
resilire
0
140
知っていると得する!Movable Type 9 の新機能を徹底解説
masakah
0
210
私も懇親会は苦手でした ~苦手だからこそ懇親会を楽しむ方法~ / 20251127 Masaki Okuda
shift_evolve
PRO
4
560
モバイルゲーム開発におけるエージェント技術活用への試行錯誤 ~開発効率化へのアプローチの紹介と未来に向けた展望~
qualiarts
0
310
pmconf2025 - データを活用し「価値」へ繋げる
glorypulse
0
460
その設計、 本当に価値を生んでますか?
shimomura
3
190
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
174
15k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
Testing 201, or: Great Expectations
jmmastey
46
7.8k
Making Projects Easy
brettharned
120
6.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Balancing Empowerment & Direction
lara
5
780
GraphQLとの向き合い方2022年版
quramy
50
14k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Code Review Best Practice
trishagee
73
19k
Rails Girls Zürich Keynote
gr2m
95
14k
Producing Creativity
orderedlist
PRO
348
40k
The Language of Interfaces
destraynor
162
25k
Transcript
Memory Chronicles: Manage, Trace and Fix Memory Leaks Giovanny Gongora
@Gioyik
Giovanny
[email protected]
@gioyik
© 2019 NodeSourc e What is this really?
© 2019 NodeSourc e See you at 2pm!
Who had a memory issue with a Node.js application before?
It happens in real life, happens in TNT
Heap profiler & Timeline
When to use them?
Workflow for diagnosing memory leaks?
TST
Three Snapshot Technique
What do the Shallow and Retained Size columns represent?
Where should I start digging into to discover if I
have a leak?
Redacted snapshots
Core Dumps
Create a Core dump
--abort-on-uncaught-exception
LLDB
Llnode
Caveats
llnode’s coupling to V8
Promises (?)
Async / Await FTW!
Tips for different situations
Case #1: Server Side Rendering (SSR)
Case #2: Monitoring tools
Case #3 Close your connections
Case #4: Look for agnostic serve pages solution
Case #5: Review you <THIS-to-THIS> packages
Case #6: Keep naming you functions
Case #6: Check how reliable are your 3rd services
Crazy … right?
Thank you!