~/talk

Tackling Memory Issues on the Instagram Android App

Talkat droidcon New York 2025 · 2025-06-25..06-26· [web-performance, android]
links:none on file
links:none on file
name:Oleg Kot
links:none on file
slides:none on file

Instagram engineers describe a production pipeline that automatically uploads sanitized HPROF dumps via Omura, analyzes them with Eclipse MAT to extract paths‑to‑GC‑root and aggregate leaks, and wires results into dashboards and crashbot tasks; they define empirical memory red thresholds (Java heap, system, address space), run end‑to‑end leak tests that bisect and revert bad commits, and deploy a memory‑red app destroyer. The system catches problems before users see them and cuts the ~44,000 OOMs/day (51% on low‑end devices).

AI-written summary · about

  1. 0:00Memory issues at Instagram
  2. 1:06Memory management philosophy
  3. 3:11Prioritizing memory crashes
  4. 6:45Memory red thresholds
  5. 9:13Memory red zones impact
  6. 11:41Monitoring memory issues
  7. 13:48FAQ on memory thresholds
  8. 15:56Detecting leaks in production
  9. 18:32Handling leaks at scale
  10. 20:25Heap dumps with Omura
  11. 22:39Heap dump triggers and privacy
  12. 24:29Analyzing heap dumps
  13. 25:31Finding leaks and large objects
  14. 27:47Reports for leaks
  15. 29:16Assigning leak fixes
  16. 30:44End-to-end leak testing
  17. 32:31Benefits of leak tests
  18. 33:56Fixing leaks in practice
  19. 35:02Leaks and crashes correlation
  20. 36:11Common Android leak patterns
  21. 39:01Debugging memory leaks
  22. 40:44Bitmap handling best practices
  23. 41:48Why leak fixes matter
  24. 44:05Q&A on memory zones
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.