Android Studio

android signals heaps list

Lists heap dumps with their collection time, app version, device, API level, and size.

Usage

android signals heaps list [-h] [--api-level=PARAM] [--app-version=PARAM] [--device=PARAM] [--format=PARAM] [--kind=PARAM] [--limit=PARAM] [--sort-by=PARAM] [--timeframe=PARAM]

Options

heaps options:

--firebase-app=PARAM - Firebase app ID to query in Crashlytics (e.g. '1::android:').

android options:

Description

android signals heaps list lists the heap dumps collected on low-memory events for your app, with their collection time, kind (OOM or MLK), app version, device, API level, and file size. By default, it lists up to 100 heap dumps from the last seven days.

Pass the Heap ID (for example, firebase/<session-id>) of a row to android signals heaps describe to inspect the associated crash event, or to android signals heaps download to download the Perfetto trace.

Pass --firebase-app or configure it in ~/.androidrc to specify the app to query.

Filter and sort heap dumps

Examples

List the heap dumps of the last seven days:

android signals heaps list --firebase-app=1:123456789012:android:0123456789abcdef

List out-of-memory heap dumps from the last 24 hours:

android signals heaps list --firebase-app=1:123456789012:android:0123456789abcdef --kind=oom --timeframe=24h

List the 10 largest heap dumps:

android signals heaps list --firebase-app=1:123456789012:android:0123456789abcdef --sort-by=size --limit=10