title: Monitoring heap in java android app
body: <p>The screen shot below shows DDMS in Eclipse monitoring the heap in an Android app (top, in red rectangle). In the LogCat window at the bottom, I have output of this statement:<br>
  <code>Log.e("HEAP", "native, " + android.os.Debug.getNativeHeapSize() + "  allocated, " + android.os.Debug.getNativeHeapAllocatedSize());</code><br>
  I would have expected these numbers to be the same, but they are not, so clearly my expectations are incorrect. Can you tell me what these numbers really are?</p>
  
  <p><img src="https://i.stack.imgur.com/2MN4X.png" alt="DDMS screenshot"></p>