1. Due to the recent site upgrade, the iPadForums (iPF) App will no longer work. The new iPadForums.net website has been designed from the ground up to work perfectly from any mobile, tablet, or desktop computer using the built in internet browser. Create a shortcut to iPadForums.net on your home screen by following these steps: Create an icon for iPadForums.net

Memory Leakage Problems for iPad Apps

Discussion in 'iPad General Discussions' started by llcooljayce, Jul 15, 2010.

  1. llcooljayce
    Offline

    llcooljayce iPF Novice

    Joined:
    Jul 6, 2010
    Messages:
    16
    Thanks Received:
    0
    Trophy Points:
    0
    Ratings:
    +0 / 0
    Hey guys,

    I have had my iPad for about 3 weeks now and I have noticed something that is a bit disconcerting. The available memory of the iPad tops out at around 160MB but it dips quite a bit ... sometimes as low as 20MB or so ... that's when everything becomes unstable. Applications crash, iPad is slow to respond, etc.

    I have noticed that this happens on the iPhone as well (owner of 2G and 3GS iPhone).

    Both the iPhone and iPad are jailbroken and SB Settings was used to determine available memory.

    I have written programs before and when writing programs for computers, it almost doesn't matter how you allocate your memory usage or whether or not you flush the RAM when you exit the program because most computers nowadays have TONS of available RAM and/or virtual memory. From my experience with the iPhone and iPad, this is not true.

    1. We are limited in the amount of actual physical RAM available
    2. There is no virtual RAM (from reading other people's comments ... not proven)

    I guess my question/rant is:

    Are app programmers just not making an effort to reallocate the RAM after a program exits because they don't know to do so or is there something else in the jailbreak that is sucking up RAM resources?

    Any thoughts would be appreciated.
  2. Bremen
    Offline

    Bremen iPad Addict

    Joined:
    Apr 5, 2010
    Messages:
    1,352
    Thanks Received:
    5
    Trophy Points:
    0
    Location:
    home
    Ratings:
    +5 / 0
    I do not have a JB iPad, but in the 3 1/2 months I have had the iPad I simple turn it OFF and then ON (reset or reboot) once a weeks or so... okay I forget most of the time but try to..... anyway, that keeps the memory clear. Overtime if you used your PC/Mac and ran many different programs on it, but did not turn it off the same things happens.... Just reboot every once in a while and no problem....

    I do have a JB iPhone 3G, but since I got the iPad it is just used as a phone (and iPad tether) .... I should probably reboot it, since I don't think I have in over 3 months.....

    Don't know if JB is part of the problem you are having or not, but I guess it is possible, and the hacked app you are using to tell you memory usage could be off as well....
  3. iDharma
    Offline

    iDharma iPF Novice

    Joined:
    Jun 26, 2010
    Messages:
    86
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    ☼ Florida ☼
    Ratings:
    +0 / 0
    I think there's a good chance that the memory issues have nothing to do with jailbreaking. I have observed the same memory leakage issues with my non-jailbroken iPhone 3G and iPad.

    I use the app "Free Memory Lite" to free up some of that clogged memory without having to reboot. There used to be a great memory dump feature in the app "System Activity Monitor" but the feature was incompatible with iOS4 and so that feature has, at least for the time being, apparently been nixed.

    Note that running the Free Memory app will cause the iPod app to shut down. Not a biggie, but when the app shuts down all non-critical apps, it really does so, including the iPod app.

    Good luck.
  4. LGgeek
    Offline

    LGgeek iPF Novice

    Joined:
    Jul 6, 2010
    Messages:
    82
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Los Gatos, CA
    Ratings:
    +0 / 0
    what do you use to tether the iPad to your iPhone ?
  5. figmo10
    Offline

    figmo10 iPad Junkie

    Joined:
    Apr 15, 2010
    Messages:
    517
    Thanks Received:
    3
    Trophy Points:
    0
    Location:
    NH
    Ratings:
    +3 / 0
    I dunno. Maybe Apple isn't wholly full of it when cautioning against jailbreak.
  6. llcooljayce
    Offline

    llcooljayce iPF Novice

    Joined:
    Jul 6, 2010
    Messages:
    16
    Thanks Received:
    0
    Trophy Points:
    0
    Ratings:
    +0 / 0
    Anyone else experiencing these issues with the iPad?
  7. pallentx
    Offline

    pallentx iPad Junkie

    Joined:
    May 28, 2010
    Messages:
    663
    Thanks Received:
    5
    Trophy Points:
    0
    Location:
    Fort Worth, TX
    Ratings:
    +5 / 0
    I have only seen it with a couple of apps. The weather channel app used to get to a point where it wouldnt open anymore until I rebooted the ipad. I uninstalled that app and havent had such issues until today. TwitRocker started doing the same thing. It wouldnt open. I cant say twit rocker is the problem yet though. I've installed a lot of stuff lately.
  8. NumbLock
    Offline

    NumbLock iPad Ninja

    Joined:
    May 2, 2010
    Messages:
    2,017
    Thanks Received:
    32
    Trophy Points:
    48
    Location:
    Switzerland
    Ratings:
    +32 / 0
    I have a non-jailbroken iPad and yeah, there are some apps that have memory leaks X-Plane is one example. I get memory errors later in other apps even when this app has been closed for hours.
  9. MikesTooLz
    Offline

    MikesTooLz Super Moderator Staff Member

    Joined:
    May 7, 2010
    Messages:
    2,364
    Thanks Received:
    19
    Trophy Points:
    0
    Location:
    Miami, FL
    Ratings:
    +20 / 0
    It has do do with how iphone and ipad apps are made.

    each thing that an app does behind the scenes, it must release the info from memory. If you have a beginner creating the app there is a pretty good chance of the apps having memory leaks. Even if the app developer is great one line of code can be forgotten and memory starts to leak.

    Nothing to do with the device being jailbroken but jailbroken apps can suffer memory leaks just like official app store apps. Apple doesn't check for memory leaks during the review process.
  10. CaptKirk
    Offline

    CaptKirk iPad Junkie

    Joined:
    Mar 24, 2010
    Messages:
    636
    Thanks Received:
    1
    Trophy Points:
    0
    Location:
    Sacramento
    Ratings:
    +2 / 0
    I notice the iPad getting sluggish if left on in sleep mode for a long length of time. (meaning weeks) Doing a complete reboot once in awhile is a good habit regardless of any computer or operating systems. Our I.T. guys even reboot our cloud servers on a monthly basis just to clear memory. No surprises here :confused:
  11. llcooljayce
    Offline

    llcooljayce iPF Novice

    Joined:
    Jul 6, 2010
    Messages:
    16
    Thanks Received:
    0
    Trophy Points:
    0
    Ratings:
    +0 / 0
    I think that this is a pretty ridiculous stance that Apple takes. For all the effort they take to lock down their i devices, and the inability (until recently) to multitask in an effort to keep apps snappy, this is a real shame that they don't check for apps that don't flush the RAM after they terminate.

    Doesn't that defeat the whole purpose of locking down the device to ensure that it functions quickly and correctly?
  12. lilrabbit129
    Offline

    lilrabbit129 iPF Novice

    Joined:
    Jul 9, 2010
    Messages:
    12
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    San Diego,CA
    Ratings:
    +0 / 0
    Yes but it is unreasonable for Apple to be able guarantee that every application has no leaks. It should be up to the developer to test if their code is leak-free.

Share This Page

Search tags for this page
ipad 1 memory leak
,
ipad air memory leaks
,
ipad free memory drain
,
ipad leaking memory
,
ipad limited memory issue but i have lots left
,
ipad memory issue
,
ipad memory issues
,

ipad memory leak

,
ipad memory leak detection
,
ipad memory leak test
,
ipad memory leaks
,
ipad memory problem
,

ipad memory problems

,
ipad memoy leaks
,
ipad1 memory issues
,
memory issues on ipad
,
memory leak ipad
,
memory leak on ipad
,
memory leaks ipad
,
solving memory issue in ipad app ipad 1