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:
Log.e("HEAP", "native, " + android.os.Debug.getNativeHeapSize() + " allocated, " + android.os.Debug.getNativeHeapAllocatedSize());
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?
