Memory Leak

Discussion in 'iOS Programming' started by tanusha, Sep 18, 2009.

  1. tanusha macrumors newbie

    Joined:
    Nov 18, 2008
    #1
    Hi,

    I am facing memory leak problem which is causing my application to crash.
    When seeing the logs I am not able to find the root cause.Here are the logs:-


    Incident Identifier: FCD74E65-EAA1-4B98-A5A0-D09FA5E759BC
    CrashReporter Key: dc4773bd023df0dd704a8502f326527c842e8e0c
    OS Version: iPhone OS 2.2.1 (5H11a)
    Date: 2009-09-18 17:25:10 +0530

    2637824 bytes free
    29114368 bytes wired
    90112 bytes purgeable
    Memory status: 10
    About to jettison: TestApp

    Processes
    PID RPRVT RSHRD RSIZE Command
    1 248K 244K 356K launchd
    13 72.0K 140K 96.0K update
    15 664K 452K 980K lockdownd
    16 928K 468K 1.51M mediaserverd
    17 216K 324K 520K mDNSResponder
    19 524K 404K 1.34M iapd
    20 192K 140K 284K fairplayd
    21 580K 464K 1.14M configd
    22 7.15M 45.2M 10.7M SpringBoard
    25 396K 172K 648K CommCenter
    26 584K 188K 860K BTServer
    27 304K 168K 344K notifyd
    480 192K 140K 388K debugserver
    1590 396K 188K 496K syslogd
    3015 16.3M 34.2M 32.8M TestApp
    3019 372K 220K 1.18M ReportCrash

    **End**

    Please help me out in tracing it.My app name is TestApp
     
  2. boyplunder macrumors regular

    boyplunder

    Joined:
    Sep 8, 2008
    Location:
    UK
    #2
    I don't evaluate leaks by looking at the logs in this way, but you should run the app using the Instruments - Leaks tool. This is in the Run menu - Start with Performance Tool - Leaks.

    This will run the app and show you any leaks and where it crashes. Test buttons and tabs while running.

    Hope this helps.
     

Share This Page