Enviar búsqueda
Cargar
Node.js memory analysis
•
Descargar como PPTX, PDF
•
1 recomendación
•
4,167 vistas
Shubhra Kar
Seguir
Memory Leak Analysis in Node.js
Leer menos
Leer más
Presentaciones y charlas públicas
Tecnología
Empresariales
Denunciar
Compartir
Denunciar
Compartir
1 de 8
Descargar ahora
Recomendados
Html5 devconf nodejs_devops_shubhra
Html5 devconf nodejs_devops_shubhra
Shubhra Kar
You don’t know JS about SharePoint - Mastering javascript performance (Hugh W...
You don’t know JS about SharePoint - Mastering javascript performance (Hugh W...
Rencore
Using Modern Browser APIs to Improve the Performance of Your Web Applications
Using Modern Browser APIs to Improve the Performance of Your Web Applications
Nicholas Jansma
Using Phing for Fun and Profit
Using Phing for Fun and Profit
Nicholas Jansma
The Happy Path: Migration Strategies for Node.js
The Happy Path: Migration Strategies for Node.js
Nicholas Jansma
Measuring Continuity
Measuring Continuity
Nicholas Jansma
Appcelerator Titanium Intro
Appcelerator Titanium Intro
Nicholas Jansma
Appcelerator Titanium Intro (2014)
Appcelerator Titanium Intro (2014)
Nicholas Jansma
Recomendados
Html5 devconf nodejs_devops_shubhra
Html5 devconf nodejs_devops_shubhra
Shubhra Kar
You don’t know JS about SharePoint - Mastering javascript performance (Hugh W...
You don’t know JS about SharePoint - Mastering javascript performance (Hugh W...
Rencore
Using Modern Browser APIs to Improve the Performance of Your Web Applications
Using Modern Browser APIs to Improve the Performance of Your Web Applications
Nicholas Jansma
Using Phing for Fun and Profit
Using Phing for Fun and Profit
Nicholas Jansma
The Happy Path: Migration Strategies for Node.js
The Happy Path: Migration Strategies for Node.js
Nicholas Jansma
Measuring Continuity
Measuring Continuity
Nicholas Jansma
Appcelerator Titanium Intro
Appcelerator Titanium Intro
Nicholas Jansma
Appcelerator Titanium Intro (2014)
Appcelerator Titanium Intro (2014)
Nicholas Jansma
Sails.js Intro
Sails.js Intro
Nicholas Jansma
Forensic Tools for In-Depth Performance Investigations
Forensic Tools for In-Depth Performance Investigations
Nicholas Jansma
Measuring the Performance of Single Page Applications
Measuring the Performance of Single Page Applications
Nicholas Jansma
Javascript Module Patterns
Javascript Module Patterns
Nicholas Jansma
Machine Learning Streams with Spark 1.0
Machine Learning Streams with Spark 1.0
Andrew Minkin
Measuring Real User Performance in the Browser
Measuring Real User Performance in the Browser
Nicholas Jansma
Node Interactive : 7 years, 7 design patterns, will node continue to outshine
Node Interactive : 7 years, 7 design patterns, will node continue to outshine
Shubhra Kar
Node.js Frameworks & Design Patterns Webinar
Node.js Frameworks & Design Patterns Webinar
Shubhra Kar
Ibm_interconnect_restapi_workshop
Ibm_interconnect_restapi_workshop
Shubhra Kar
Design patterns talk_node_summit
Design patterns talk_node_summit
Shubhra Kar
Node summit workshop
Node summit workshop
Shubhra Kar
Toronto node js_meetup
Toronto node js_meetup
Shubhra Kar
Node frameworks talk_hackerdojo
Node frameworks talk_hackerdojo
Shubhra Kar
Connect js nodejs_devops_shubhra
Connect js nodejs_devops_shubhra
Shubhra Kar
Connect js nodejs_api_shubhra
Connect js nodejs_api_shubhra
Shubhra Kar
Triangle Node Meetup : APIs in Minutes with Node.js
Triangle Node Meetup : APIs in Minutes with Node.js
Shubhra Kar
Triangle Node.js DevOps
Triangle Node.js DevOps
Shubhra Kar
StrongLoop Overview
StrongLoop Overview
Shubhra Kar
OpenSource Node.js API Framework and Server for Enterprise
OpenSource Node.js API Framework and Server for Enterprise
Shubhra Kar
StrongLoop Overview
StrongLoop Overview
Shubhra Kar
George Lever - eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024
eCommerce Institute
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Hasting Chen
Más contenido relacionado
Destacado
Sails.js Intro
Sails.js Intro
Nicholas Jansma
Forensic Tools for In-Depth Performance Investigations
Forensic Tools for In-Depth Performance Investigations
Nicholas Jansma
Measuring the Performance of Single Page Applications
Measuring the Performance of Single Page Applications
Nicholas Jansma
Javascript Module Patterns
Javascript Module Patterns
Nicholas Jansma
Machine Learning Streams with Spark 1.0
Machine Learning Streams with Spark 1.0
Andrew Minkin
Measuring Real User Performance in the Browser
Measuring Real User Performance in the Browser
Nicholas Jansma
Destacado
(6)
Sails.js Intro
Sails.js Intro
Forensic Tools for In-Depth Performance Investigations
Forensic Tools for In-Depth Performance Investigations
Measuring the Performance of Single Page Applications
Measuring the Performance of Single Page Applications
Javascript Module Patterns
Javascript Module Patterns
Machine Learning Streams with Spark 1.0
Machine Learning Streams with Spark 1.0
Measuring Real User Performance in the Browser
Measuring Real User Performance in the Browser
Más de Shubhra Kar
Node Interactive : 7 years, 7 design patterns, will node continue to outshine
Node Interactive : 7 years, 7 design patterns, will node continue to outshine
Shubhra Kar
Node.js Frameworks & Design Patterns Webinar
Node.js Frameworks & Design Patterns Webinar
Shubhra Kar
Ibm_interconnect_restapi_workshop
Ibm_interconnect_restapi_workshop
Shubhra Kar
Design patterns talk_node_summit
Design patterns talk_node_summit
Shubhra Kar
Node summit workshop
Node summit workshop
Shubhra Kar
Toronto node js_meetup
Toronto node js_meetup
Shubhra Kar
Node frameworks talk_hackerdojo
Node frameworks talk_hackerdojo
Shubhra Kar
Connect js nodejs_devops_shubhra
Connect js nodejs_devops_shubhra
Shubhra Kar
Connect js nodejs_api_shubhra
Connect js nodejs_api_shubhra
Shubhra Kar
Triangle Node Meetup : APIs in Minutes with Node.js
Triangle Node Meetup : APIs in Minutes with Node.js
Shubhra Kar
Triangle Node.js DevOps
Triangle Node.js DevOps
Shubhra Kar
StrongLoop Overview
StrongLoop Overview
Shubhra Kar
OpenSource Node.js API Framework and Server for Enterprise
OpenSource Node.js API Framework and Server for Enterprise
Shubhra Kar
StrongLoop Overview
StrongLoop Overview
Shubhra Kar
Más de Shubhra Kar
(14)
Node Interactive : 7 years, 7 design patterns, will node continue to outshine
Node Interactive : 7 years, 7 design patterns, will node continue to outshine
Node.js Frameworks & Design Patterns Webinar
Node.js Frameworks & Design Patterns Webinar
Ibm_interconnect_restapi_workshop
Ibm_interconnect_restapi_workshop
Design patterns talk_node_summit
Design patterns talk_node_summit
Node summit workshop
Node summit workshop
Toronto node js_meetup
Toronto node js_meetup
Node frameworks talk_hackerdojo
Node frameworks talk_hackerdojo
Connect js nodejs_devops_shubhra
Connect js nodejs_devops_shubhra
Connect js nodejs_api_shubhra
Connect js nodejs_api_shubhra
Triangle Node Meetup : APIs in Minutes with Node.js
Triangle Node Meetup : APIs in Minutes with Node.js
Triangle Node.js DevOps
Triangle Node.js DevOps
StrongLoop Overview
StrongLoop Overview
OpenSource Node.js API Framework and Server for Enterprise
OpenSource Node.js API Framework and Server for Enterprise
StrongLoop Overview
StrongLoop Overview
Último
George Lever - eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024
eCommerce Institute
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Hasting Chen
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
Delhi Call girls
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
mohammadalnahdi22
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
raffaeleoman
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
NikitaBankoti2
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AI
Tatiana Gurgel
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Pooja Nehwal
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
saastr
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
eCommerce Institute
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
Delhi Call girls
Air breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animals
aqsarehman5055
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
Vipesco
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
Senaatti-kiinteistöt
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
Sheetaleventcompany
Mathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptx
MoumonDas2
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
Kayode Fayemi
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubs
samaasim06
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
Pooja Nehwal
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Kayode Fayemi
Último
(20)
George Lever - eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AI
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
Air breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animals
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
Mathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptx
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubs
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Node.js memory analysis
1.
Shubhra Kar @shubhrakar April, 2014 Memory
Leak Analysis
2.
heapdump for V8
snapshots by @bnoordhuis npm install heapdump Add to app : var heapdump = require(‘heapdump’) Method 1 : writeSnapshot Method 2 : SIGUSR2 (Unix only) Make sure your directory is writable var heapdump = require('heapdump') ... heapdump.writeSnapshot() kill –USR2 <pid> process.chdir('/path/to/writeable/dir’)
3.
heapdump for V8
snapshots by @bnoordhuis Programmatic heap snapshots (timer based) Programmatic heap snapshots (threshold based) var heapdump = require('heapdump') ... setInterval(function () { heapdump.writeSnapshot() }, 6000 * 30) <strong>(1)</strong> var heapdump = require('heapdump') var nextMBThreshold = 0 <strong>(1)</strong> setInterval(function () { var memMB = process.memoryUsage().rss / 1048576 <strong>(2)</strong> if (memMB > nextMBThreshold) { <strong>(3)</strong> heapdump.writeSnapshot() nextMBThreshold += 100 } }, 6000 * 2) <strong>(4)</strong>
4.
Heapdump analysis in
Chrome Dev Tools 4
5.
Heapdump analysis in
Chrome Dev Tools 5
6.
StrongOps - Memory
Profiling and Leak Detection
7.
A nasty one
! (memory leak)
8.
Good references Memory Analysis
101 :https://developers.google.com/chrome- developer-tools/docs/memory-analysis-101 Taming the Unicorn: Easing JavaScript Memory profiling in Chrome DevTools :http://addyosmani.com/blog/taming-the-unicorn-easing- javascript-memory-profiling-in-devtools/ StrongLoop Blog : http://strongloop.com/strongblog/how-to-heap- snapshots/ StrongOps : http://strongloop.com/node-js-performance/strongops/ 8
Descargar ahora