Skip to content

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

License

Notifications You must be signed in to change notification settings

frank-tan/SinsOfMemoryLeaks

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages