Fighting Memory Leaks: From Task to Victory
summary
Practical methods for finding, preventing and fixing memory leaks in iOS apps using Xcode and simple tools, including common pitfalls when using the tools and how to work around them. Also covers automating leak detection via UI tests and integrating the whole workflow—from discovery through team-level processes and configuration.
AI-written summary · about
chapters (23)
- 0:00Introduction
- 1:06What is a memory leak
- 3:10Why fight memory leaks
- 4:33Apple tools for detection
- 6:36Manual leak detection
- 8:20Swift memory model
- 11:30Memory leak causes
- 12:32Memory graph and legend
- 14:15Finding retain cycles
- 15:41Single-object leak
- 16:44Leaks via closures
- 18:07Static retention
- 19:08Leak detection algorithm
- 19:29Xcode pitfalls
- 23:03Custom stored properties
- 24:05Automating indicators
- 26:10Leak lifecycle
- 27:56Leak-fighting regulations
- 29:00Summary
- 30:23Q&A part 1
- 37:13Q&A part 2
- 41:34Q&A part 3
- 45:48Best question award
related talks
20mDiscover memory leaks with Testcase
PokeLeaks: Gotta Catch 'em All
17mEnding the Plague of Memory Leaks
50mAn Exploration of Debugging Techniques and Tools
49mPokeLeaks: Gotta Catch 'em All
37mLeakCanary, then what? Nuking Nasty Memory Leaks
31mMemory Graph Debugger
43mCode That Doesn't Slow Down: Performance Secrets on iOS
