android_system_core/libmeminfo/tools
Sandeep Patil a42207e2e3 procrank: do not keep process maps around
procrank's usage in its output shows 20x increase from
last year. This is because it is keeping the process
maps around until termination. Fix that by getting rid
of ProcMemInfo objects when done parsing /proc/<pid>/maps,pagemap.

Note that the total allocations do not change and have not necessarily
regressed from Pie.

Bug: 130672819
Test: adb shell procrank | grep 'procrank\|cmdline'

Change-Id: Ib7bf960ed1d053347fcfc0c8aee9019607a1eb01
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-04-17 12:11:50 -07:00
..
Android.bp meminfo: Add support to track working set with idle page tracking. 2019-01-23 22:53:46 -08:00
librank.cpp libmeminfo: librank optimization using maps instead of vectors 2019-03-01 16:17:20 -08:00
procmem.cpp meminfo: Remove unnecessary working set stats 2019-01-14 09:42:50 -08:00
procrank.cpp procrank: do not keep process maps around 2019-04-17 12:11:50 -07:00
showmap.cpp meminfo: Add Smaps(), showmap and friends. 2019-01-08 17:08:10 -08:00
wsstop.cpp meminfo: Add support to track working set with idle page tracking. 2019-01-23 22:53:46 -08:00