• Stars
    star
    359
  • Rank 118,537 (Top 3 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created over 7 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Some common patterns of memory leaks in Android development and how to fix/avoid them

Sins of Memory Leaks

This app shows common patterns of memory leaks in Android development and how to fix them. LEAK branch has the code which has memory leaks. These memory leaks are fixed in FIXED branch.

LEAK Branch FIXED Branch
Leak app screenshot Leak fixed app screenshot

Build

Two branches have different app ids which allow them to co-exist on the same device or emulator.

Launcher icons for both apps

##Warning This app contains various memory leaks. It is intended for Android developers' study purpose only. The author does not take responsibility for any potential damage to your devices.

I am going to write an artical about the examples in this app. Stay tuned in this space...