Detect Android Memory Limiter kills
The Sentry Android SDK now captures process terminations triggered by the Android 17 Memory Limiter. These events are automatically reported as fatal errors within the Sentry dashboard.
Verified State Diff
Impact & Verification Analysis
Android mobile application developers and Sentry users monitoring performance on Android 17 devices.
It provides critical observability into OS-level process termination, allowing developers to distinguish between application bugs and system-enforced resource management, which is essential for optimizing memory usage in high-performance Android apps.
Full Fact Overview
Android's Low Memory Killer (LMK) or specific memory management constraints in Android 17 can terminate background processes to reclaim system resources. Previously, these 'OOM' or 'Memory Limiter' kills were often silent or difficult to distinguish from standard application crashes, leading to visibility gaps in production monitoring. By integrating detection for Android 17's specific memory limiter, Sentry allows developers to differentiate between code-level crashes and OS-enforced process terminations, enabling more accurate debugging of resource-intensive applications.