Crash on phone not simulator

Discussion in 'iOS Programming' started by iGeiger, Aug 31, 2011.

  1. iGeiger, Aug 31, 2011
    Last edited: Aug 31, 2011

    iGeiger macrumors newbie

    Joined:
    Aug 31, 2011
    #1
    I have an app that crashes when tested on the iPhone but runs fine on the simulator. I have a feeling it probably has something to do with memory management.

    A little more details about the crash.

    It actually locks the phone and the white apple appears on the screen and the phone basically resets itself.
    In the debugger though there is no crash log. Is there anyway to know what is causing this?

    UPDATE:
    I found this in the debugger
    Received memory warning. Level=1
     
  2. jiminaus, Aug 31, 2011
    Last edited: Aug 31, 2011

    jiminaus macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #2
    I think you are exhausting the iPhone's RAM. The Simulator does not simulate the limited RAM in the iPhone.
     
  3. iGeiger thread starter macrumors newbie

    Joined:
    Aug 31, 2011
    #3
    I think I might be doing that. If you could try to remember where you found that it would be awesome
     
  4. jiminaus macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #4
    Yeah I couldn't find it. That's why I retracted it.

    If you're looking for general guidance, see the Use Memory Efficiently section of the iOS Application Programming Guide.
     
  5. iGeiger thread starter macrumors newbie

    Joined:
    Aug 31, 2011
    #5
    alright i will, thanks for your help
     
  6. iGeiger thread starter macrumors newbie

    Joined:
    Aug 31, 2011
    #6

    wow crazy the only thing that was causing the problem was this really high def image that was showing up..
     

Share This Page