query_bitmap_memory_usage
Retrieve bitmap memory usage percentiles (P50/P90/P99) and distinct users by device, process, and app state to diagnose memory pressure and correlate with LMK rates.
Instructions
Query bitmap memory usage percentiles: bitmapMemoryUsageP50/P90/P99 (bytes) plus distinctUsers. Also supports P75 and P95 via metrics, and the processName and appState dimensions (e.g. FOREGROUND) on top of the usual device dimensions. Pair with query_lmk_rate when investigating memory pressure. Daily aggregation only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "query_bitmap_memory_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows to return (default: 50) | |
| filter | No | AIP-160 filter over dimensions, e.g. "versionCode = 415" | |
| metrics | No | Metrics to fetch (default: bitmapMemoryUsageP50, bitmapMemoryUsageP90, bitmapMemoryUsageP99, distinctUsers) | |
| end_date | Yes | End date (inclusive) as YYYY-MM-DD, e.g. '2026-08-13' | |
| dimensions | No | Break the metrics down by these dimensions, e.g. ['versionCode','deviceModel'] | |
| start_date | Yes | Start date (inclusive) as YYYY-MM-DD, e.g. '2026-08-01' | |
| package_name | No | App package name, e.g. 'com.acme.app' (defaults to GOOGLE_PLAY_PACKAGE_NAME) | |
| aggregation_period | No | Aggregation granularity — this metric set only supports DAILY |