~/talk

640K ought to be enough for anyone

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

Mobile apps hit out-of-memory even on big-RAM phones because Android imposes a 268 MB per-app heap limit and the system uses zram and an OOM killer that ranks processes, so cold restarts happen. GC work blocks the main thread — one example shows a 102 ms GC pause that drops frames — and using Moshi cuts JSON memory by ~60% reduced pressure in production. Practical fixes include pagination, avoiding largeHeap, reusing allocations, and piping LeakCanary → Crashlytics upload for real-world leak tracing.

AI-written summary · about

  1. 0:00Introduction and energy warm-up
  2. 2:20Speaker introduction and context
  3. 3:02Bill Gates quote and memory evolution
  4. 5:08Out of memory issues past and present
  5. 6:31Monday.com growth and performance struggles
  6. 8:19User frustration and need for fixes
  7. 8:42Basics of RAM in Android
  8. 10:06Process management by Zygote
  9. 11:07Memory management when RAM is low
  10. 12:54Out of memory killer and process scores
  11. 14:00Heap vs stack and garbage collection
  12. 16:11How garbage collection works
  13. 19:25Garbage collection stages and pauses
  14. 21:08Out of memory crashes and heap growth
  15. 21:52Large heap drawbacks and GC impact
  16. 22:35Frame rate and user experience
  17. 24:17Choreographer and frame skipping
  18. 25:21Memory pitfalls and performance design
  19. 26:07Allocation pressure and GC frequency
  20. 27:13Custom view and Compose pitfalls
  21. 27:55List concatenation and memory waste
  22. 29:00Library pitfalls with Room and JSON
  23. 31:08JSON cache memory overhead
  24. 32:11Profiling shallow vs retain size
  25. 33:56Shortest path and retain size gotcha
  26. 34:38Memory leaks and LeakCanary setup
  27. 36:04Integrating LeakCanary with Crashlytics
  28. 37:28Common leak gotchas and fixes
  29. 38:11ViewModel lifecycle owner mistake
  30. 39:14Conclusion and developer growth
~/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.