Finding Objective-C Memory Leaks

Gary Bennett · 18K views · 2011 · 8:16

Open on YouTube

Testing, debugging & developer toolsSoftware performance & optimizationtutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when someone hits memory errors or asks how to check an iPhone app for leaks, as a quick visual intro to Instruments.

Recommended by 2 people across 2 different months, 2011 to 2013.

What it is

A short screencast showing how to use Xcode Instruments to track down memory leaks in Objective-C apps. The presenter, Gary Bennett, walks through the Instruments workflow on screen.

What people said

Recommends eric · 2011-12 · Stack Overflow · on “Malloc error "can't allocate region" failed with error code 12. Any idea how to resolve this?”

Googling will reveal quite a few tutorials on using instruments to understand what is going on with your memory: How to debug memory leaks: ( tutorial ) [LINK] And another: Finding Obj-C memory leaks ( video ) [this video] *There are many similar questions [LINK] on stackoverflow you might benefit from.

Recommends user2117204 · 2013-04 · Stack Overflow · on “how to load more cells in tableView”

Googling will reveal quite a few tutorials on using instruments to understand what is going on with your memory: How to debug memory leaks: (tutorial) [LINK] And another: Finding Obj-C memory leaks (video) [this video] Probably because your simulator is able to allocate ~500Mb of memory while your iPad is not able to do it. I think you should rethink what you are doing do you really need so much memory? isn't it just a calculating bug? (maybe a wrong sizeof or whatever) in any case this is really too much data to be handled

Cites Gayan · 2011-11 · Stack Overflow · on “Xcode memory leak check”

I need to check my iPhone application memory leaks. I went following link and I also need to check my app memory leak like that. [this video] So can Any one have any idea about how to do this on Xcode 4.2 ? Thanks a lot