开发者

increasing object allocations in instruments

Hi friends My App is retrieving Data from SQLServer through web service,and storing into Local SQLite Database,and Displays Data in Table View while i am runnin开发者_高级运维g App through instruments its showing Fallowing Allocations... Can Any one Help why these objects are still in memory....?

increasing object allocations in instruments

increasing object allocations in instruments


Show us the code that you're using when inserting/updating records. Most probably you're allocating an object which you are then not releasing. For example:

NSString *someString = [[NSString alloc] initWithString:@"Yo"];
[myDictionary setValue:someString forKey:@"stringValue"];

You need to then call [someString release] to release the allocated object. Go over the code and see if you're 'alloc'ing something which you are then not releasing.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜