Investigate utilizing ProfilingManager for retrieving OOM heap dumps

Offen
#6,344 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
43/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
android, kotlin

Rechercherichtung

Start by reading the Android ProfilingManager API and the SDK’s existing AppExitInfo handling. Investigate heap dump size, format and contents, and when dumps become available; then assess whether they can be linked to an OOM AppExit and sent as attachments or parsed by the SDK or relay. Done means documenting findings on feasibility and the required handling.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Java Platform: Java

The ProfilingManager API allows us to setup triggers for capturing Java Heap Dumps https://developer.android.com/reference/android/os/ProfilingManager#PROFILING_TYPE_JAVA_HEAP_DUMP

Investigation Scope
  • Check the typical size of those dumps, e.g. would it be feasible to send them as attachments
  • Check the format and contents of those dumps, e.g. should the SDK try to parse them, should relay do it.
  • Check the lifecycle / timing of those dumps, when are they delivered. E.g. could they be sent alongside the AppExitInfo on the next app start (in other words: can we combine/link an OOM AppExit with the dump).
Vorherrschende Sprache
Kotlin
Sterne
1.4k
Forks
483
Ø Merge
2 T. 2 Std.
Gemergte PRs (30 T.)
202

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus getsentry/sentry-java

Alle Issues in getsentry/sentry-java

Ähnliche Issues

Weitere Issues zu Kotlin

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.