~/talk

A small leak can sink a great ship

Talkat droidcon Italy 2022 · 2022-10-06..10-07· [android, web-performance]
slides:none on file

Memory leaks cause freezes and OOM crashes; heap dumps freeze the app and LeakCanary triggers them when retained-object counts exceed a threshold (default 5 visible / 1 background). The workflow uses LeakCanary 2 + Shark to detect and group leaks, a one-line debug install, test assertions to fail CI, and uploads heap-analysis results as non‑fatal events to Firebase Crashlytics (with code‑owner tagging, velocity alerts and Jira/webhook hooks). The new analyzer uses 10x less memory.

AI-written summary · about

  1. 0:00Start
  2. 3:14Android Memory Structure
  3. 4:10Stack Memory
  4. 5:20Heap Memory
  5. 6:31Garbage Collector
  6. 6:59Memory Leaks
  7. 10:49Retained Object Detection
  8. 13:09Dumping Heap
  9. 13:39Analyzing Heap
  10. 14:37Leak Trace
  11. 19:01Leak Canary 2 with Test Rules
  12. 21:44Developer Strategy
  13. 22:52Leak Canary 2 Implemetation
  14. 23:12Leak Canary 2 Listener
  15. 23:50Leak Canary 2 Config
  16. 24:01Leak Canary Upload Service
  17. 28:36Leak Data + Firebase Crashlytics
  18. 31:33Prevention is better than cure!
~/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.