Memory problems with my iPhone App

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

  1. ionini macrumors newbie

    Aug 29, 2011
    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?
  2. hayesk macrumors 65816

    May 20, 2003
    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

    Aug 26, 2010
    Profile allocations then sort by size.
  4. jnoxx macrumors 65816


    Dec 29, 2010
    Aartselaar // Antwerp // Belgium
    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


    Sep 15, 2010
    the woods
    Here's a little tutorial: link.

Share This Page