Daily iOS
Performance and debugging

Detecting OOM terminations

Users say "the app just closes," but Crashlytics has nothing. If you suspect out-of-memory (OOM) terminations, how do you confirm it and gather data?

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

An OOM is the kernel (jetsam) killing the process, so the crash handler never gets to run. You collect it from MetricKit's MXAppExitMetric and memory metrics and Xcode Organizer's Terminations, and reproduce it with Allocations.

Share a question