Debugging and Fixing Common JavaScript Errors

Challenge 5: Memory Usage

Todd Gardner

Todd Gardner

Request Metrics
Debugging and Fixing Common JavaScript Errors

Check out a free preview of the full Debugging and Fixing Common JavaScript Errors course

The "Challenge 5: Memory Usage" Lesson is part of the full, Debugging and Fixing Common JavaScript Errors course featured in this preview video. Here's what you'd learn in this lesson:

In this challenge, students attempt to verify the memory leak is occurring with Chrome DevTools and pinpoint in the code where the leak is happening.

Preview
Close

Transcript from the "Challenge 5: Memory Usage" Lesson

[00:00:00]
>> Now what I'd like you to do, is I'd like you to open up your application and run the profiling tool, and see the memory allocations. See the memories not being cleared, run a timeline on your application, and see if you can find your way down into that ad render function.

[00:00:17]
And if you can, see if you can spot where the memory leak is, inside of that advertisement render function.

Learn Straight from the Experts Who Shape the Modern Web

  • In-depth Courses
  • Industry Leading Experts
  • Learning Paths
  • Live Interactive Workshops
Get Unlimited Access Now