开发者

iphone memory leaks with CoreData

开发者 https://www.devze.com 2022-12-30 20:10 出处:网络
I was checking my app for memory leaks using instruments and I got the followingNSConcreteMutableData GeneralBlock memory leaks.When I checked it was from the following code.

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

精彩评论

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