Search code examples
cocoa-touchmemory-managementinstruments

Fixing memory issues in instruments


In my iPhone app i had found many memory issues while instruments , no issues when analysing . Below are my leaks enter image description here

where or how i can fix these leaks?


Solution

  • Here is easy step to find out the leaks in your code.. Just follow these steps one by one with screenshot:

    Step1:

    Tap on Leaks Tabs

    Step 2:

    Select the Call Tree option

    Step3:

    Check those option to see the leaks only for your code leaks