Title: ANR tracker gracefully downgrade on OOM · Issue #1961 · getsentry/sentry-java · GitHub
Open Graph Title: ANR tracker gracefully downgrade on OOM · Issue #1961 · getsentry/sentry-java
X Title: ANR tracker gracefully downgrade on OOM · Issue #1961 · getsentry/sentry-java
Description: Integration sentry-android Build System Gradle AGP Version NA Proguard Enabled Version ALL Steps to Reproduce App is low on memory, ANR detection tries to do its thing and crashes the process. java.lang.OutOfMemoryError: at android.app.A...
Open Graph Description: Integration sentry-android Build System Gradle AGP Version NA Proguard Enabled Version ALL Steps to Reproduce App is low on memory, ANR detection tries to do its thing and crashes the process. java...
X Description: Integration sentry-android Build System Gradle AGP Version NA Proguard Enabled Version ALL Steps to Reproduce App is low on memory, ANR detection tries to do its thing and crashes the process. java...
Opengraph URL: https://github.com/getsentry/sentry-java/issues/1961
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ANR tracker gracefully downgrade on OOM","articleBody":"### Integration\n\nsentry-android\n\n### Build System\n\nGradle\n\n### AGP Version\n\nNA\n\n### Proguard\n\nEnabled\n\n### Version\n\nALL\n\n### Steps to Reproduce\n\nApp is low on memory, ANR detection tries to do its thing and crashes the process.\r\n\r\n```\r\njava.lang.OutOfMemoryError: \r\n at android.app.ActivityManagerProxy.getProcessesInErrorState\r\n at android.app.ActivityManager.getProcessesInErrorState\r\n at io.sentry.android.core.ANRWatchDog.run (ANRWatchDog.java:102)\r\n```\n\n### Expected Result\n\nNot to crash the app. Avoid a busy loop, just turn itself off completely or thread-sleep in exponential backoff\n\n### Actual Result\n\nCrashes","author":{"url":"https://github.com/bruno-garcia","@type":"Person","name":"bruno-garcia"},"datePublished":"2022-03-28T13:23:48Z","url":"https://github.com/getsentry/sentry-java/issues/1961"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:140801b0-904f-0c33-ac3e-8b6da613d111 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9444:15EB96:304611:42B16C:6B046AE2 |
| html-safe-nonce | 9e2edd73aade2accf7394fc725d9316515197fd18036b39142313afce40a4a19 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDQ0OjE1RUI5NjozMDQ2MTE6NDJCMTZDOjZCMDQ2QUUyIiwidmlzaXRvcl9pZCI6IjcwODQ1MzgwNzY4MjcyNDkzNzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7b9f43f6318713b556d1475deb82d38c0cc287ab1bd9abb82e639616499cab34 |
| hovercard-subject-tag | issue:1183438120 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-java/1961/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b3d39a21288c6ffdb81495d2deba98074ed5b2682c55ab00a0da1a9a7ee475dd/getsentry/sentry-java/issues/1961 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b3d39a21288c6ffdb81495d2deba98074ed5b2682c55ab00a0da1a9a7ee475dd/getsentry/sentry-java/issues/1961 |
| og:image:alt | Integration sentry-android Build System Gradle AGP Version NA Proguard Enabled Version ALL Steps to Reproduce App is low on memory, ANR detection tries to do its thing and crashes the process. java... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bruno-garcia |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3368190 |
| octolytics-dimension-repository_nwo | getsentry/sentry-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3368190 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width