Monday 11 February 2013

MemoryLeak Test in Xcode

Steps:

  1. Connect device and Select device option  in debug mode

  2.Run application as below mentioned

  3.Application Run on device and below Instruments window show in system. 

  4.Test application in the device.Every 10 seconds Instruments window check leaks in device.If application have any leaks that show in leaks bar continuous blue bar line and show which object leaked in below Leaked block.

  5.Know more about leaks click extended view in view bar as below mentioned small black dotted box.Extended detail box display at right of window and show leaks as mentioned black box.Double click 7. (or) 8. in extended detail view that show the program and display which line leaks appeared in purple color line and also display how many percentage of memory leaked.


Note : Before Check the MemoryLeak Test for Submitting Apps in AppStore.

No comments: