Memory problems with my iPhone App

Discussion in 'iOS Programming' started by ionini, Aug 29, 2011.

  1. ionini macrumors newbie

    Joined:
    Aug 29, 2011
    #1
    I have made an app with xcode, and all the Supporting files combined are less than 10mb. So when i run it with Instruments in my ipod the memory stats get to 90mb! do someone knows how to fix this?
    Thanks.
     
  2. hayesk macrumors 65816

    Joined:
    May 20, 2003
    #2
    What kind of answer are you looking for without posting any source code? The size of your files doesn't matter.

    Do you have a leak, or are you just declaring something that takes up a lot of RAM, such as a UIWebview?
     
  3. Sykte macrumors regular

    Joined:
    Aug 26, 2010
    #3
    Profile allocations then sort by size.
     
  4. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #4
    Have u tried using Command shift B? It's a command to let the analyzer do his work to check for immediate mem leaks.
    Second of all, run your target on your device via Instruments (crap since Lion).
    And check where you're allocations are, which aren't getting released.
     
  5. (marc) macrumors 6502a

    (marc)

    Joined:
    Sep 15, 2010
    Location:
    the woods
    #5
    Here's a little tutorial: link.
     

Share This Page