开发者

iphone memory leaks with CoreData

I was checking my app for memory leaks using instruments and I got the following NSConcreteMutableData GeneralBlock memory leaks.When I checked it was from the following code.

    NSError *error = nil;
if (![[self fetchedResultsController] performFetch:&error]) {
    NSLog(@"Failed to load data : %@", [error localizedDescription]);
}

error = nil;

My fetchResultCntroller initialization looks exactly like apple examples.Is there something I'm missing. I'm debugging it on Simulato开发者_如何学编程r 3.0. I would appreciate any help. Thanks, Sarah


Check for memory leaks on the device, rather than on the simulator. The simulator has some funny memory leaks of its own.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜