Instruments (Leaks) and NSDateFormatter
- by Cal
When I run my iPhone app with Instruments Leaks and parse a bunch of NSDates using NSDateFormatter my memory goes up about 1mb and stays even though these NSDates should be dealloc'd after the parsing (I just discard them if they aren't new).
I thought the malloc (in my heaviest stack trace below) could become part of the NSDate but I also thought…