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.

Get Unlimited Access Now

Transcript from the "Challenge 5: Memory Usage" Lesson

>> 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.