Skip to content

Parse currently available memory from ANRv2 thread dump #2801

Description

@romtsn

Description

The ANR thread dump actually contains what is the current memory size. size until OOME and GC metrics, which we could parse and send as part of contexts and even add it as suspect root cause if it's low.

Free memory 3107KB
Free memory until GC 3107KB
Free memory until OOME 187MB
Total memory 7592KB
Max memory 192MB
...
Total time waiting for GC to complete: 8.054ms
Total GC count: 1
Total GC time: 11.807ms
Total blocking GC count: 1
Total blocking GC time: 11.873ms
Total pre-OOME GC count: 0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions