0

Task Manager is showing a RAM usage of 10MB when my application is running. I wanted to analyze it, but when I create a hprof dump it only a shows a total of 2MB. Can anybody point me in the right direction to where the other 8MB come from?

phlebas
  • 1,210
  • 2
  • 13
  • 24
  • Duplicate of [this question](http://stackoverflow.com/questions/7613910/android-memory-usage-and-heap-usage) – phlebas Jun 22 '12 at 17:27

1 Answers1

0

You can use DDMS for more accurate results. This difference might come from different queries. There is a difference between used and reserved (but free) memory. Maybe the TaskManager (which I wouldn't trust too much) shows the empty space and hprof also the reserved.

paulgavrikov
  • 1,883
  • 3
  • 29
  • 51