---
title: "Announcing Android crash profiling"
metaTitle: "Announcing Android crash profiling | bitdrift"
slug: "android-crash-profiling"
blurb: "Today we are thrilled to announce the release of Android ANR/OOM crash profiling ingestion within bitdrift Capture. Historically, Application Not Responding (ANR) and Out of Memory (OOM) crashes have been the hardest issues to debug in the field: the crashing stack almost never points to the real culprit. Now, when Android’s [ProfilingManager](https://developer.android.com/topic/performance/tracing/profiling-manager/overview) provides a [Perfetto](https://perfetto.dev/) trace associated with an ANR or OOM event on supported versions, bitdrift will ingest, deobfuscate, and symbolicate it and link it to the issue report. These traces provide genuine evidence that allows these hard-to-fix crashes to be fully understood and fixed."
metaDescription: "Most Android crash reporting shows you a stack trace pointing to the wrong place on ANRs and OOMs. bitdrift attaches Perfetto traces so you can find the real cause."
cover:
  url: "/assets/posts/android-crash-profiling/feature-crash-profile-oom-desktop@1x.webp"
  alt: "Perfetto Java OOM trace showing Java heap size and the top classes by retained size"
socialThumbnail:
  url: "/assets/posts/android-crash-profiling/feature-crash-profile-oom-desktop@1x.webp"
  alt: "Perfetto Java OOM trace showing Java heap size and the top classes by retained size"
author:
  - "matt"
tags:
  - "feature"
  - "engineering"
  - "android"
  - "mobile"
publishedDate: "2026-11-30T12:00:00Z"
modifiedDate: "2026-11-30T12:00:00Z"

---

It's the same principle behind our approach to [crash reporting](https://bitdrift.io/use-cases/crash-reporting): stack traces only tell part of the story. Crash profiling adds one more layer of evidence alongside the logs and session replays Capture already attaches to every report.

Recent Android versions have the capability to generate system traces when ANR and OOM events occur:

1. Android 16 (API 36) generates Perfetto system traces in response to ANR events.
2. Android 17 (API 37) generates Perfetto heap graphs in response to Java OOM events.

Note that profiling generation is dependent on underlying system resources and profiling rate limits. Not every ANR and OOM report will have an associated tracing file. Issue/report search has been enhanced to make it easy to search for reports that have associated traces, which means that once deployed at scale it’s easy to find a set of relevant profiling to aid in understanding ANR and OOM events.

<Image
    alt="Issues list filtered by Profile type is OOM"
    altAsCaption
    large
    asset="/assets/posts/android-crash-profiling/crash-profile-filter@1x.webp"
/>

For most applications, getting started is as easy as adding the following to SDK initialization:

```kotlin
import io.bitdrift.capture.Capture.Logger
import io.bitdrift.capture.Configuration
import io.bitdrift.capture.reports.profiling.CrashProfilingMode

Logger.start(
    apiKey = "<your-api-key>",
    configuration = Configuration(crashProfilingMode = CrashProfilingMode.AUTOMATIC),
)
```

For advanced configuration and instructions on how to test locally, see the [crash profile SDK integration guide](https://docs.bitdrift.io/sdk/features/android-crash-profiling) and the [crash profile product guide](https://docs.bitdrift.io/product/issues/android-crash-profiles).

Crash profiling, the latest addition to bitdrift's [Android crash reporting](https://bitdrift.io/use-cases/crash-reporting), is available today for all customers. New and existing customers can [contact us](https://bitdrift.io/contact-us) to learn more.

Capture is changing the mobile observability game by adding a control plane and local storage on every mobile device, providing extremely detailed telemetry when you need it, and none when you don’t. If the lack of crash profiling was keeping you away, now is the time to give us a try!

Interested in learning more? Here are some options:

-   [Get in touch](https://bitdrift.io/contact-us) for a demo.
-   Check out [the sandbox](https://bitdrift.io/sandbox) or start a [free trial](https://bitdrift.io/signup) to dive right into the product and see what working with Capture is like.
-   [Join us in Slack](https://communityinviter.com/apps/bitdriftpublic/bitdrifters) to ask questions and share feedback.

We can’t wait to see what you think.

---

## Frequently asked questions

### Why don't Android crash reports show the real cause of ANRs and OOMs?

With Application Not Responding (ANR) and Out of Memory (OOM) crashes, the stack trace shows where the app was when it failed, not what caused the failure. The blocking work or memory pressure usually built up elsewhere. A system trace captured at the moment of the crash, like a Perfetto trace or heap graph, shows what the app was actually doing so you can find the root cause.

### Which Android versions support ANR and OOM crash profiling?

Android 16 (API 36) automatically generates Perfetto system traces when an ANR occurs. Android 17 (API 37) generates Perfetto heap graphs for Java OOM events. Profiling generation depends on system resources and rate limits, so not every ANR or OOM report will include a trace.

### How do I add ANR and OOM perfetto traces to Android crash reporting in bitdrift?

Set `crashProfilingMode = CrashProfilingMode.AUTOMATIC` in your bitdrift Capture SDK configuration. When Android produces a Perfetto trace for an ANR or OOM, bitdrift ingests it, symbolicates it, and links it to the issue report. You can then filter issue search to show only reports that have profiling traces attached.
