0

Please, help! A have a few activities whose resources are not freed when destroying. The strange thing is that the memory dump shows nothing. When I check usage of RAM with a special program (I use "Usage Timelines'), it shows about 147MB, but Eclipse Memory Analyzer shows that the size of the heap is 18.4MB.

smb
  • 749
  • 1
  • 7
  • 17
  • 3
    I suggest using development tools, not random Play Store apps, for diagnosing memory leaks. If MAT says that your heap is 18.4MB, your heap is 18.4MB. You are also welcome to use procstats on Android 4.4: http://android-developers.blogspot.com/2014/01/process-stats-understanding-how-your.html or the techniques outlined in [Dianne Hackborn's epic SO answer on memory consumption](http://stackoverflow.com/questions/2298208/how-to-discover-memory-usage-of-my-application-in-android/2299813#2299813). – CommonsWare Feb 01 '14 at 15:50
  • Thank you for the links! – smb Feb 01 '14 at 15:53

0 Answers0