NSZombieEnabled Causes memory Leak.
Noobie Mistake while trying to traced memory leak with the app I am working on using the instrument provided by xcode , I got series of pink spikes,
and I'm not sure what was causing it, I thought that the managedObject Context was the culprit. I noticed tons of _NSZombie_ prefix listed and I remember that I added the NSZombieEnabled tag under the Argument in "Executable App Info",
I added NSZombieEnabled environment variable because it can be helpful to track down the elusive object causing the problem, mostly tracing the EXC_BAD_ACCESS error message. So after I disabled it, the app I am working on had no leak after all.
Tags: EXC_BAD_ACCESS, Memory Leak, NSZombie, Xcode Instrument
Hi,
I’ve same leaks when I use NSZombie with Instruments !
November 13th, 2010 at 8:45 am