Android meminfo
android_meminfoRead app's PSS and breakdown to detect memory leaks; app must be running.
Instructions
Read an app’s memory usage (dumpsys meminfo <package>): TOTAL PSS in kilobytes plus the App Summary breakdown (Java heap, native heap, code, stack, graphics) and the largest mapping categories. PSS is the number to watch across repeated calls — a steadily climbing TOTAL PSS while the app sits idle is the Android shape of a leak. The app must be RUNNING; when it is not, the tool says so instead of reporting zero.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Target adb serial. Defaults to the streamed device, else the only online one. | |
| package_name | Yes | Android package to measure, e.g. "com.example.app". |