Application crashing in iPad, memory issue.

Discussion in 'iOS Programming' started by srikanthrongali, Jun 11, 2010.

  1. srikanthrongali macrumors newbie

    Apr 30, 2010
    I am using cocos2d for developing an game application.
    I run the app in the iPad. But it was crashing by giving the following message in terminal.

    Program loaded.
    target remote-mobile /tmp/.XcodeGDBRemote-6258-64
    Switching to remote-macosx protocol
    mem 0x1000 0x3fffffff cache
    mem 0x40000000 0xffffffff none
    mem 0x00000000 0x0fff none
    The program is not being run.
    The program is not being run.
    I used instruments tool there is sudden increase in memory to 32MB before crashing. It is crashing at CCSpriteFrameCache .

    I used more than 4 sprite sheets. 5 of 2048x2048 and 3 of 1024x1024. But not all are active at same.time.

    Player entrance have a sprite sheet and his animation, then player gun draw animation sprite sheets, and player win animation sprite sheets. All these occur one after the other but in same scene.

    Please explain me the problem where I have to check ?
    Thank you.

Share This Page