Wednesday, March 27, 2013

[android-developers] What down "Unknown“ refer to in the result of "dumpsys meminfo"?

Here is an output of dumpsys meminfo when my app is using native so.

** MEMINFO in pid 26289 [com.test] **
                         Shared  Private     Heap     Heap     Heap
                   Pss    Dirty    Dirty     Size    Alloc     Free
                ------   ------   ------   ------   ------   ------
       Native        0        0        0    33876    33767      108
       Dalvik    13615    15100    13436    22023    21003     1020
       Cursor        0        0        0
       Ashmem       18       36        0
    Other dev        4       32        0
     .so mmap     8652     2400     5152
    .jar mmap        6        0        0
    .apk mmap       93        0        0
    .ttf mmap       93        0        0
    .dex mmap     1472        0        0
   Other mmap     1002      324       56
      Unknown    23850      584    23848
        TOTAL    48805    18476    42492    55899    54770     1128
 
What does "Unknown"  refers to? I've checked the source code and found the value was obtained by
Debug.MemoryInfo.otherPss, otherSharedDirty, otherPrivateDirty (minus the value of Cursor, 
Ashmem, Other dev, etc.). Still, I don't know what does this mean. Maybe the stack memory consumed
by native so? or something else?
Anyone knows this ? Thanks you!

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment