11
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

メモ Androidで指定アプリの使用メモリ詳細をファイル出力するコマンド

Last updated at Posted at 2014-06-04

■adb shell dumpsys meminfo アプリの正式名 > 出力先フルパス

 adb shell dumpsys meminfo jp.co.bbbbb.aaaaa > c:\memory.txt

■アプリの正式名の一覧取得

 adb shell dumpsys meminfo > c:\memory.txt

■全プロセスのメモリ
adb shell dumpsys procstats

  • バンドルアイデンティファー(Bundle Identifer) / ******:
    TOTAL: 54% (105MB-247MB-266MB/103MB-233MB-250MB over 98)
    Top: 54% (105MB-247MB-266MB/103MB-233MB-250MB over 98)
    (Last Act): 0.55% (241MB-241MB-241MB/225MB-225MB-225MB over 1)
    (Cached): 0.11% (241MB-241MB-241MB/225MB-225MB-225MB over 1)

  • {プロセス名} / {プロセスUID}:
    {ステータス名}: {A}% ({B}-{C}-{D}/{E}-{F}-{G} over {H})
    {A}:対象期間当たりの動作時間割合
    {B}:物理メモリ消費量(PSS:Proportional Set Size)最小値
    {C}:PSS平均値
    {D}:PSS最大値
    {E}:専有メモリ(USS:Unique Set Size)最小値
    {F}:USS平均値
    {G}:USS最大値
    {H}:サンプリング数

11
11
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?