How to Identify, Diagnose, and Fix Memory Leaks in Web Apps

How to Identify, Diagnose, and Fix Memory Leaks in Web Apps

How to Identify, Diagnose, and Fix Memory Leaks in Web Apps

Boost your web app’s performance by writing optimized code and using Chrome DevTools

Language: english

Note: 4.5/5 (36 notes) 12,533 students

Instructor(s): Rakia Ben Sassi

Last update: 2022-05-21

What you’ll learn

  • You’ll learn how to effectively track memory leaks down with chrome DevTools.
  • A brief history of web performance.
  • The difference in the performance requirements between MPA (Multiple Page Application) and SPA (Single Page Application)
  • The difference between runtime performance and other kind of web performance.
  • Learn the signs that your web app is leaking memory.
  • Learn programming patterns that cause JavaScript memory leaks.

 

Requirements

  • No prior knowledge of web performance optimisation required.
  • A bit of knowledge about JavaScript/TypeScript and HTML would be helpful.

 

Description

Hunting memory leaks issues is a complex problem with fiendish edge cases, and debugging them can be a daunting task. To avoid such a problem in your app, you need awareness about it and constant vigilance.

JavaScript memory leaks are sneaky and could be challenging to localize because they can go unnoticed for some time. And even if your performance gets progressively worse, you will not see a thrown error on the browser while running the leaking app because it’s not an invalid code that causes memory leaks, but a logical flaw in it.

In this course, we’ll see how to effectively track memory leaks down and learn what causes them. You’ll get insights on how to respect more the end-user device’s resources. You’ll also avoid situations where you pull your hair out trying to understand what’s going on with your performance.

I designed this course to suit newcomers as well as advanced developers, and I will walk you through the topic step by step until you get your hands dirty.

At the end of the course, you’ll be able to identify, diagnose, and fix memory leaks in web apps even if you’re not the one who implemented them. You’ll be also able to catch patterns in your source code that cause leaks.

 

Who this course is for

  • For people who want to optimize their runtime web performance and/or fix memory leaks in their web pages.
  • For frontend developers who want to know more about web development.
  • For people who want to have more insights on how to use chrome DevTools.

 

Course content

  • Introduction
    • Introduction
  • What’s a memory leak?
    • What’s a memory leak?
  • A brief history of web performance and JS memory leaks
    • A brief history of web performance and JS memory leaks
  • Types of web performance problems
    • Types of web performance problems
  • Signs that your app is leaking memory
    • Signs that your web app is leaking memory
  • How to identify memory leaks with chrome DevTools
    • Performance Timeline Record
    • Heap Snapshots
    • Heap Profile
    • Performance Monitor
    • Task Manager
  • 7 coding patterns that leak memory in JavaScript
    • 5 coding patterns that leak memory in JavaScript
    • Collections
    • Infinite and detached DOM
  • Case studies
    • Case study 1
    • Case study 2
  • Final thought
    • Final thought

 

How to Identify, Diagnose, and Fix Memory Leaks in Web AppsHow to Identify, Diagnose, and Fix Memory Leaks in Web Apps

Time remaining or 1000 enrolls left

 

Don’t miss any coupons by joining our Telegram group 

Udemy Coupon Code 100% off | Udemy Free Course | Udemy offer | Course with certificate