lightning talk : Android memory leak

Post on 27-May-2015

1.255 views 3 download

Tags:

description

Lightning talk about how find memory leaks

Transcript of lightning talk : Android memory leak

AndroidIdentify Memory Leak

Tell me more..

Garbage collection !=Immunity from memory leaks!

Android Memory Handle < 3.0 version >= 3.0 version

Pause time > 100ms Pause time < 5ms

Detecting a memory leak

Identify Sources of evil !DDMS -> dump heap snapshots ( HPROF file)+Eclipse MAT ( memory analyzer )

Step #1

Step #2

Step #3

Step #4

Step #5 Try identify using your historygram

what are your bottlenecks.

Thanksdeivison Servat Sportemandeivison.sporteman@gmail.com

Do you want more about it?

Google I/O 2011: Memory management for Android Appshttps://www.youtube.com/watch?v=_CruQY55HOk

https://weblogs.java.net/blog/enicholas/archive/2006/05/understanding_w.html

http://codelog.dexetra.com/post/47690459692/getting-around-android-memory-blues