Wednesday, January 9, 2013

Re: [android-developers] Dumpsys meminfo explanation...

How is the number of "Local Binders" counted?

For other types of memory usage (e.g., graphics), how can we collect usage info and how can we tell whether the app is using way too much of a particular type of memory (i.e., allocating too many instances of certains types)?

On Tuesday, August 2, 2011 3:11:00 AM UTC-4, Dianne Hackborn wrote:
It is...   everything else.  By its nature, it doesn't tell you much, because it is all the other stuff that is not classified.  This may be:

- Graphics driver allocations.
- Window surfaces
- Cursors
- Audio buffers
- Binder transaction buffers
- Large malloc heap allocations (on some versions of the platform this can not be identified as part of the heap)
- Pages in ram (either clean or dirty) from mmapped files like shared libraries, dalvik code, .apks, etc.

On Mon, Aug 1, 2011 at 11:01 PM, Srikanth Mandalapu <srikan...@gmail.com> wrote:
Hi Kostya,
Thanks for the information...It explained the terms native and dalvik but i am still not clear about other (every thing else) memory. What is this other memory exactly (22082 is very high)?. Also could please elaborate more on the following numbers and their impact on memory.
 
 SQL
            heap:      168       memoryUsed:      168
pageCacheOverflo:       35  largestMemAlloc:       50

 DATABASES
  Pagesize   Dbsize  Lookaside  Dbname
      1024       29         72  settings.db
      1024       16         33  accounts.db

Thanks
Srikanth M.

On Mon, Aug 1, 2011 at 7:05 PM, Kostya Vasilyev <kman...@gmail.com> wrote:
http://stackoverflow.com/questions/2298208/how-to-discover-memory-usage-of-my-application-in-android/


01.08.2011 16:53, Srikanth пишет:

Hi All,

Dumpsys meminfo command gave below output for system server process.
Can anyone explain each row and column involved in this output like
native, dalvik, other, Objects, SQL,Databases and the significance of
values like dbsize, pagesize, lookaside etc...

** MEMINFO in pid 2537 [system] **
                    native   dalvik    other    total
            size:     8736     7943      N/A    16679
       allocated:     7013     6639      N/A    13652
            free:      858     1304      N/A     2162
           (Pss):     4453     9423    22082    35958
  (shared dirty):     1340     4076     1664     7080
    (priv dirty):     4420     6656     9968    21044

 Objects
           Views:        0        ViewRoots:        0
     AppContexts:        2       Activities:        0
          Assets:        9    AssetManagers:        9
   Local Binders:      122    Proxy Binders:      251
Death Recipients:       73
 OpenSSL Sockets:        0

 SQL
            heap:      168       memoryUsed:      168
pageCacheOverflo:       35  largestMemAlloc:       50

 DATABASES
  Pagesize   Dbsize  Lookaside  Dbname
      1024       29         72  settings.db
      1024       16         33  accounts.db

Regards
Srikanth M.


--
Kostya Vasilyev

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-d...@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



--
 Srikanth M
 Samsung India Software Operations
 Bagmane TechPark, CV Raman Nagar,
 Bangalore.
 Phone No. 09886851560

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-d...@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



--
Dianne Hackborn
Android framework engineer
hac...@android.com

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails.  All such questions should be posted on public forums, where I and others can see and answer them.

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate