Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Grab it
Explore techniques for analyzing the JavaScript heap and detecting memory leaks in this conference talk from Conf42 JavaScript 2023. Dive into memory consumption concepts, including immutability, DOM nodes, and composition layers. Learn to inspect DOM and JavaScript memory, understand the memory heap, and examine object sizes. Follow along with practical demonstrations and discover common causes of memory leaks, such as console.log usage, global variables, leftover callbacks, and DOM references. Master methods for detecting memory leaks, including proper garbage collection triggering and in-depth analysis using detached elements tools. Gain valuable insights to optimize JavaScript performance and prevent memory-related issues in your applications.
Analyzing the JavaScript Heap and Detecting Memory Leaks - Conf42 JavaScript 2023