Investigate utilizing ProfilingManager for retrieving OOM heap dumps

Aperta
#6,344 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
43/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, kotlin

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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).
Lingua principale
Kotlin
Stelle
1.4k
Fork
483
Merge medio
2g 2h
PR unite (30g)
202

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di getsentry/sentry-java

Tutte le issue di getsentry/sentry-java

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.