Reference¶
Complete, exact and for looking things up. Every table here is checked against the code: flags against --help, errors against real runs, output against captures.
Pages¶
| You need | Page |
|---|---|
| Every flag, its default and its range | Command line |
| Which flags work with which mode | Mode compatibility |
| Every field of every JSON file | JSON schemas |
| The meaning of a GC root kind | GC root kinds |
| Which dump formats heaptrail reads | HPROF formats |
| An error message, and what to do | Errors and exit codes |
| How long a mode takes and how much memory it needs | Performance |
| What heaptrail cannot do | Limitations |
| A term in one line | Glossary |
The command in one glance¶
heaptrail [OPTIONS] analyze a dump (one mode per command)
heaptrail android-capture [OPTIONS] capture a dump over adb
With no mode flag, heaptrail -i <dump> prints the summary. Pick at most one of the modes: --find-referrers (or --target-glob), --paths-from-id, --diff-from with --diff-to, --diff-series,
--allocation-sites, --leak-suspects and --bitmaps.
Related¶
- Choose the right mode maps a question to a command.
- Concepts explains the ideas behind the numbers.
- Help for questions and troubleshooting.