Find and Fix MEMORY LEAKS with Leak Canary in Android 👀

preview_player
Показать описание
A memory leak happens when the garbage collector does not free up an object in your app that can't be used anymore. So RAM for that object is wasted.
In this video, you'll learn how you can find such memory leaks in your Android app using Leak Canary and how to fix them afterwards.

Want to become a job-ready Android developer? 🖥
Get my NEW multi-module course here (STILL LIMITED 25% OFF!):
Рекомендации по теме
Комментарии
Автор

another video on figuring out where the leaks are actually coming from would be very helpful

ink.
Автор

Hi Phillip, do you have a plan to make a course about "Photos feature"(Like iOS Photos)? I think there are a lot of points that can learn from. Like gesture, zoom, animation, recyclerView, various layout handle and how to handle 200k data in list. I think this is more related real dev and will be a very useful course.

Joe-yuwc
Автор

Thanks Philip for helping the android developers like us to stay updated. Awsome Info

achalbadgujar
Автор

Just got your new course! Very excited to get started learning about multi-module apps and also canvas too!

chuka_obi
Автор

Greetings. :) Three things are missing to deliver on the "fix" in the video title. You're not explaining
1. how to go from the issue dump to the fix
2. where to add the fix code
3. you don't write the fix code

3=after doing the steps in the video, the source is left in an unfixed state. I think you need to also fix it to get the rumored certificate. Do you have one?

BaldingEagle
Автор

Thankyou so much, this was very helpful in finding one of the issues I literally gave a week of my time on.

devedroy
Автор

your IDE just looks like Xcode. Please sensei stay with us :D

yunusemrearslan
Автор

Thanks for this great tip, if I have a multi module app do i have to apply for every module?

michaelndiritu
Автор

Then what is the solution, if i have to use MainActivity context in Second Activity (I think this is not a good question but. ) or if any static method/Utils Class method needs context of second activity, and if i back to Main Activity, how to prevent memory leak?

pls reply

deepeshkumar
Автор

Thank you for sharing this very important topic

techmarinar
Автор

Well done. - detecting memory leaks in on click ✔

Alchemist
Автор

What's the theme you are using ? looks good

pranavvyas
Автор

Hi Phillip - could you please create one session on aab... I have learned all android from your channel.... I want to start aab now, please help.

iam-learning
Автор

I hoep you will make second part of this video in more depth.

MaulikDodiaHollywoodMovieLover
Автор

Could you share the android studio theme you are using here?

joemoe
Автор

damn when i try to watch android tutorial in kotlin ..
there are always keyword or operator that i did not understand
what is "::" ?
what is "it" ?

footballCartoon
Автор

Phillip, thank you for the great content! I checked out your link and I'd buy your course but I'm only interested in the "Building Industry-Level Apps With Multi-Module Architecture" and it seems that it's only available in the bundle. Perhaps you will change your mind about that and make it available on its own as well. Thanks again!

razvanalinbalan
Автор

hi buddy, thanks for your video it was great as always
I kindly ask you to make tutorial about making custom calendar in jetpack compose.
thanks in advance.

javad
Автор

This example doesn't show how to fix real apps. Nobody usually makes such a mistake, but a memory leak appears.

alexandernifanin
Автор

Well, if you used the Application context instead of the Activity's context you would not see a memory leak😉.

wernerdittmann
welcome to shbcf.ru