Search code examples
iosmemory-managementinstruments

iOs high memory usage


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:

enter image description here

In more detail view it looks like:

enter image description here

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?


Solution

  • 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.