NSDateFormatter memory leak?
问题 I have a problem with NSDateFormatter dateFromString: method. There is an array of dictionaries with string dates and I want to convert them to NSDates . But there is a huge heap growth every time I call this method (I need to call it more than once, cause it's an "update" method). Also I call it in background thread and ARC is on. What am I doing wrong? Any help, please. UPDATE: Full code of the function: - (GraphController *) initGraphWithData: (NSArray *) points forInterval: (GraphInterval