JavaScript memory management and leaks
Browser + Node.js
Learn how memory works and how to use tools to track down a memory leak. No matter if you have a year or 10 years of experience with JavaScript, this is something you'll be able to use right away and something you likely don't know yet.
Agenda:
- Introduction to garbage collection
- Getting basic memory consumption info
- Generating heapdumps - with devtools and programmatically (node.js)
- Finding a memory leak - practice with example apps
- browser
- node.js
Duration: 8 hours total with breaks and Q&A
Can be split to cover just the browser or node.js - in 5-6 hours.
Who should attend?
- Developers working on heavy web applications - for basic memory management awareness
- Senior/Principal Engineers - to gain a fundamental skill for their job before they face an incident with memory leaks
Requirements
- Basic knowledge of JavaScript for the browser and Node.js
- At least a month (yes, just a month should be enough) of experience working on web application products, as a front-end or back-end engineer.
- Chromium-based browser and Node.js LTS installed