A Late-Night Leak Hunt: A True Story
Crash analytics spiked with out-of-memory events after a seemingly harmless update. Reviews mentioned battery drain and slow scrolling. We reproduced the issue by switching tabs repeatedly and letting the app idle, watching the heap climb with every screen change.
A Late-Night Leak Hunt: A True Story
A heap graph revealed a stubborn reference chain: a RecyclerView adapter kept a reference to a destroyed Activity via a lingering listener. Meanwhile, a Swift closure captured self strongly inside a networking layer. Two platforms, one root cause—mismanaged ownership.