Reputation: 11951
I have developed an app, I want to check the Memory leak happening in the app. I am trying with eclipse MAT, but unsuccessful,I am getting HROF file but eclipse MAT unable to read it. Can anybody help me out. Any other way to findout.
Upvotes: 5
Views: 3460
Reputation: 4325
@sujith The video is very good. To summarize,
Upvotes: 1
Reputation: 2421
I found this video very useful. This talks about things like how to find memory leaks from logcat(garbage collector logs) and how to use memory analyzer(MAT).
Upvotes: 3
Reputation: 12121
The dump.hprof file from Android needs to be converted. Then you can open the converted-dump.hprof in MAT.
hprof-conv dump.hprof converted-dump.hprof
Upvotes: 4