Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report Excessive Resource usage app exits #3958

Open
Tracked by #3934
Angelodaniel opened this issue Dec 4, 2024 · 3 comments
Open
Tracked by #3934

Report Excessive Resource usage app exits #3958

Angelodaniel opened this issue Dec 4, 2024 · 3 comments
Assignees
Labels
Platform: Android Platform: Java Sync: Jira apply to auto-create a Jira shadow ticket

Comments

@Angelodaniel
Copy link
Member

Angelodaniel commented Dec 4, 2024

Problem Statement

Having more context on ANR's is always required

Solution Brainstorm

https://developer.android.com/reference/android/app/ApplicationExitInfo#REASON_EXCESSIVE_RESOURCE_USAGE

┆Issue is synchronized with this Jira Improvement by Unito

@stefanosiano
Copy link
Member

hi @Angelodaniel
thanks for the suggestion!
We currently report an ANR when we get the REASON_ANR from the system.
We don't receive multiple reasons of the process death, so we cannot add other info to the ANRs, as the only info we receive from the system is REASON_ANR
We will discuss how to make sense of other death reasons, especially if we can add them to general crashes

@kozaxinan
Copy link

That makes sense. Maybe we can use exit information for crashes.

For anr, it would be nice to have a correlation between last click action or memory usage or memory issues.

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Dec 10, 2024
@markushi markushi moved this from Needs Discussion to Needs Investigation in Mobile & Cross Platform SDK Dec 11, 2024
@markushi markushi changed the title ANR - Add Reasons Excessive Resource usage Report Excessive Resource usage app exits Dec 11, 2024
@markushi
Copy link
Member

Let's investigate if our DefaultUncaughtExceptionHandler can capture REASON_EXCESSIVE_RESOURCE_USAGE issues as well or not, as we should avoid reporting the same error twice.

@markushi markushi self-assigned this Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: Android Platform: Java Sync: Jira apply to auto-create a Jira shadow ticket
Projects
Status: No status
Status: Needs Investigation
Development

No branches or pull requests

5 participants