DroidKaigi 2023 - [EN] A small leak can sink a great ship | Ayushi Gupta

Опубликовано: 25 Март 2025
на канале: DroidKaigi
129
4

List of sessions -    / droidkaigi  

A small leak can sink a great ship (Ayushi Gupta)

Memory plays an important role in making an Android application famous. Lesser the memory requirement, the application will run faster on the Android ecosystem.
Android ecosystem tries to keep as many applications in memory as possible to enable quicker & smoother switching between applications and tasks, keeping a device feel “snappy” to the end user.
So, the lesser the memory requirement, the faster the app will run on a device.


So to enhance the user experience and to strengthen the Android ecosystem, memory pressure will be directly proportional to app stability, thus bringing memory leaks into the picture.


High memory leaks lead to sluggy apps or skipping frames during its execution or even termination of your application in the middle of critical work. And finally, you may end up with a crash report that doesn't appear to be memory related.


Most developers do not focus on memory leaks till they are noticeable due to ANR / Out of memory errors, at which point they require a major rewrite. During development and testing, using tools such as LeakCanary can help you detect and resolve memory leaks.


But now it's time to explore LeakCanary 2 & Integration with a dashboard like Firebase to analyse memory pitfalls for apps. Just a simplified way to detect memory leaks during development and testing automation.
How to prioritise bugs by the collection of all memory leaks in a dashboard (Not all bugs are worth fixing. Only fix the ones that matter.


So let's fix the leak in this great ship to sail high !!

DroidKaigi 2023 Session timetable/Slide link - https://2023.droidkaigi.jp/en/timetab...

---------

DroidKaigi is a conference tailored for Android developers. It took place on the 14, 15, and 16 of September 2023.

All participants at DroidKaigi are required to agree with the DroidKaigi Code of Conduct.
This will be enforced on social media and YouTube comments and chats as well:
https://portal.droidkaigi.jp/en/about...

DroidKaigi 2023 and more - https://2023.droidkaigi.jp/

DroidKaigi on X -   / droidkaigi  

#Android #DroidKaigi

----
The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.