dump_heap
Capture heap dumps from running Android processes to diagnose memory issues, detect leaks, and analyze object relationships. Supports both Java and native heap dumps with configurable output paths and timeouts.
Instructions
Capture a heap dump from a running process on the device.
Heap dumps are useful for diagnosing memory issues, leaks, and understanding object relationships in running applications.
Args: serial: Device serial number ctx: MCP context package_or_pid: App package name or process ID to dump output_path: Where to save the heap dump (leave empty for default location) native: Whether to capture a native heap dump (vs Java heap) timeout_seconds: Maximum time to wait for the heap dump to complete (in seconds)
Returns: Path to the saved heap dump or an error message
Input Schema
Name | Required | Description | Default |
---|---|---|---|
native | No | ||
output_path | No | ||
package_or_pid | Yes | ||
serial | Yes | ||
timeout_seconds | No |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from DroidMind
- capture_bugreport
- clear_app_data
- connect_device
- create_directory
- delete_file
- devicelist
- device_logcat
- device_properties
- disconnect_device
- dump_heap
- file_exists
- input_text
- install_app
- list_directory
- list_packages
- press_key
- pull_file
- push_file
- read_file
- reboot_device
- screenshot
- shell_command
- start_app
- start_intent
- stop_app
- swipe
- tap
- uninstall_app
- write_file
Related Tools
- @hyperb1iss/droidmind
- @hyperb1iss/droidmind
- @JackXuyi/env-mcp
- @hyperb1iss/droidmind
- @MindscapeHQ/mcp-server-raygun