问题
Now i 've got a project with ARC, which use over 6m memory on pushing chat ViweController(UItableview with custom cells). I have no idea about why it happening. The most interesting that i cant identify for what reason it needs too much memory. So this is my Instruments screenshot:
In more detail view it looks like:
I think libRip.A.dylib needs too much memory. Have you got any ideas about it?
And please explain me what is and strange libRip.A.dylib library?
回答1:
According to this that libRIP call is responsible for drawing a UIViewController with a background image.
EDIT:
Apparently this problem happens when you're setting a view's backgroundColor
using [UIColor colorWithPatternImage:]
.
A way around it is to use a UIImageView as background instead. As described here.
来源:https://stackoverflow.com/questions/9703396/ios-high-memory-usage