Investigate utilizing ProfilingManager for retrieving OOM heap dumps

Ouverte
#6,344 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
43/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
android, kotlin

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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).
Langage dominant
Kotlin
Étoiles
1.4k
Forks
483
Merge moyen
2 j 2 h
PR mergées (30 j)
202

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de getsentry/sentry-java

Toutes les issues de getsentry/sentry-java

Issues similaires

Plus d'issues Kotlin

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.