开发者

_dyld_start causing leaks in iphone apps

Using the Allocations Instrument on my Iphone Device, I notice in my heapshots that all my heap growth is caused by the _dyld_start caller (of dyld library).

H开发者_C百科ere is an example:

Snapshot: UIImageView
Heap Growth: 4.83 Kb
Still Alive: 103

When I look in the details, all I see is several instances of the following:

Object Add: xxxx
Creation Time: ....
Live: check
Responsible Library: dyld
Responsible Caller: _dyld_start
  1. What does this mean?
  2. How can I change my code to release this memory?


if you load your UIImage with imageNamed: then you cant release this.

cause imageNamed: caches the image till the application closes.

you may try to load ur Image with imageWithContentsOfFile: or imageWithData:

Hope that helps

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜