Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
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
120
Node.js Contributor Workshop
gioyik
0
98
Profile & Analyze Node.js Applications like a Pro
gioyik
1
83
Leak Hunting - Finding and debugging a memory leak in Nodejs.pdf
gioyik
1
990
Finding and debugging a memory leak in Node.js
gioyik
0
190
Road to LISP heaven
gioyik
1
130
Leak Hunting: Finding and debugging a memory leak in Node.js
gioyik
0
570
Performance first: Node.js and Rust
gioyik
0
190
Time for Growth
gioyik
0
150
Other Decks in Technology
See All in Technology
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
Agile Leadership Summit Keynote 2026
m_seki
1
650
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
260
Agent Skils
dip_tech
PRO
0
120
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.6k
AIエージェントを開発しよう!-AgentCore活用の勘所-
yukiogawa
0
170
ランサムウェア対策としてのpnpm導入のススメ
ishikawa_satoru
0
180
量子クラウドサービスの裏側 〜Deep Dive into OQTOPUS〜
oqtopus
0
130
登壇駆動学習のすすめ — CfPのネタの見つけ方と書くときに意識していること
bicstone
3
120
AWS Network Firewall Proxyを触ってみた
nagisa53
1
240
20260208_第66回 コンピュータビジョン勉強会
keiichiito1978
0
180
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.8k
Featured
See All Featured
How to Talk to Developers About Accessibility
jct
2
130
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
51
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Building the Perfect Custom Keyboard
takai
2
690
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Everyday Curiosity
cassininazir
0
130
We Are The Robots
honzajavorek
0
160
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
290
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!