Investigate utilizing ProfilingManager for retrieving OOM heap dumps

Abierto
#6,344 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
43/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
android, kotlin

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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).
Lenguaje dominante
Kotlin
Estrellas
1.4k
Forks
483
Merge medio
2 d 2 h
PR fusionados (30 d)
202

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de getsentry/sentry-java

Todos los issues de getsentry/sentry-java

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.