iPhone Free RAM

Discussion in 'Jailbreaks and iOS Hacks' started by d0c, Feb 12, 2013.

  1. d0c macrumors newbie

    Joined:
    Feb 24, 2012
    #1
    iPhone 4S. I have 124 MB free with just chrome open and goes down to 65 MB with Facebook.. Is there any particularly culprit of my tweaks:

    Activator
    BiteSMS
    BossPaper
    Browser Changer
    Camera tweak
    Clean slider hd/sd
    f.lux
    FastblurredNotificationCenter
    Forecast
    iCleaner
    Infinidock
    NoLockBars
    NoNewsIsGoodNews
    OpenBackUp
    SBSettings
    Transparency
    WeeFlashlight
    Winterboard
    Zeppelin

    And is there an easy way to free up RAM??
     
  2. T5BRICK macrumors 604

    T5BRICK

    Joined:
    Aug 3, 2006
    Location:
    Oregon
    #2
    If I had to guess, I'd blame Winterboard(could be totally wrong though).

    *edit

    For the record, I'm running less tweaks than you and with FaceBook and Chrome open with the MacRumors front page loaded, I'm down to 89MB of RAM. It doesn't seem slow, so I don't really mind.
     
  3. hafr macrumors 68030

    Joined:
    Sep 21, 2011
    #3
    The tweaks that run constantly are way more likely to be a problem than for instance CameraTweak which is only used when the Camera app is open. Go into SBS, turn off all of the tweaks and activate them one by one and see how it goes.
     
  4. thelatinist macrumors 603

    thelatinist

    Joined:
    Aug 15, 2009
    Location:
    Connecticut, USA
    #4
    Free RAM is wasted RAM. iOS is very good at managing memory, and will free it up when and if it is needed. There is absolutely no reason to manage or even monitor your phone's free RAM unless you have a specific reason to suspect a memory leak. Just stop worrying.
     
  5. HankHowdy macrumors 68040

    HankHowdy

    Joined:
    Dec 2, 2012
    Location:
    Victorville CA
    #5
    This. Don't worry about it.
     
  6. jj47 macrumors regular

    Joined:
    Aug 16, 2012
    #6
    That does seem very low. I average about 727MB of RAM.
     
  7. hafr macrumors 68030

    Joined:
    Sep 21, 2011
    #7
    Yes, iOS is great at handling RAM - if you're using the stock OS and only apps from App Store. But when jail breaking the phone, tweaks and apps might hog more memory than needed, meaning an endless stream of app crashes and periods of freezing up when iOS tries to release RAM. Something he wouldn't see if it wasn't jail broken.
     
  8. Luis2004 macrumors 6502a

    Joined:
    Dec 30, 2012
    #8
    I thought this thread was about a RAM giveaway from some website or something. Then I come in here and am sorely disappointed. :(

    In the future, please be more accurate regarding your thread's internals.

    Thank you.
     
  9. Netherscourge macrumors 6502

    Joined:
    Oct 11, 2011
    #9
    True, but the more RAM you are using, the more likely your battery is going down faster.
     
  10. thelatinist macrumors 603

    thelatinist

    Joined:
    Aug 15, 2009
    Location:
    Connecticut, USA
    #10
    RAM takes an insignificant amount of power, and it draws just as much when it is "Free" as when it is used. Remember also that iOS will fill your entire RAM with saved states for fast app switching unless it needs the RAM for something else. And jailbreaking does not significantly affect iOS' memory handling. Seriously, stop wasting time thinking about it.
     
  11. BumpyFlatline macrumors 68030

    BumpyFlatline

    Joined:
    Apr 11, 2012
    #11
    Exactly. And many people believe that constantly closing and removing apps from the background, only to open them later on, has a negative impact on battery because instead of the iOS using ram to quickly open the suspended app, it has to go thorough the whole process of opening them from scratch which uses more processor power and as a result uses more battery. I rarely remove apps from the multi tasking tray and I have great battery life and my phone is very snappy and responsive...especially since updating to 6.1.1 on my 4S!
     
  12. ominx macrumors 6502

    Joined:
    Jun 23, 2010
    #12
    Is this true? I was always under the impression Jailbreak tweaks were not handled by iOS the same way stock apps and services are.
     
  13. Mrg02d macrumors 65816

    Joined:
    Jan 27, 2012
    #13
    Sidetracked....You went to 6.1.1? What did you come from? Ive been debating whether or not to go to 6.1.1 on my 4s. I dont have any KNOWN 3G issues though...
    BTW-I have about 100mb of free RAM. Im also running Intelliscreen X and Gyro HD 3 (a dreamboard theme). Not to mention other, less obvious, tweaks. Even 50mb of free RAM should be plenty for the typical unforseen memory need.

    Matt
     
  14. hafr macrumors 68030

    Joined:
    Sep 21, 2011
    #14
    iOS' memory handling consists of killing apps that aren't being used to free up memory if needed. A tweak is running constantly, and in springboard. So if iOS wants to free up memory used by a tweak, it needs to restart the service which will result in either a re-springing of springboard, or being thrown into safe mode.

    So yes, there is a difference and if you start experiencing that the phone freezes up, apps crashing and so on, it's most likely due to installed tweaks hogging memory.
     
  15. borgqueenx macrumors 65816

    Joined:
    Jul 16, 2010
    #15
    Ah so if some tweaks suck up 300mb of apps that doesnt matter at all...less space for multitasking...and no the iphone wont make free space out of cydia tweaks...it only kills app store apps. And because less ram from the start, it starts killing apps sooner then before.
     
  16. ominx macrumors 6502

    Joined:
    Jun 23, 2010
    #16
    That's exactly as I thought. Jailbreak tweaks/apps cannot be shut down by iOS' memory handling. Therefore they can run memory down to zero causing crashes.
     
  17. Mrg02d macrumors 65816

    Joined:
    Jan 27, 2012
    #17
    I got down to 7mb today...
     
  18. dgstan macrumors 6502a

    Joined:
    Jun 29, 2010
    #18
    Yes. SBSettings has that functionality. I don't have my phone in front of me, but I think it's under the "Processes" button.
     
  19. Intell macrumors P6

    Intell

    Joined:
    Jan 24, 2010
    Location:
    Inside
    #19
    Jailbreak tweaks, when written correctly, use very little ram. They use single digit kilobyte amounts each. Hardly enough to warrant a problem with the rest of the OS' ram management. Springboard itself is very good at clearing itself of unused ram and will in fact lower its overall ram usage when idle. iOS doesn't restart services. That's Windows. iOS has launch daemons that are controlled by launchd. They are not restarted by the system. iOS' launch daemons are very rarely tweaked for this very reason. To tweak a launch daemon, the user would have to restart their device every time it is installed or updated. Not a very good thing to do when using a tethered jailbreak. Springboard respringing is not caused by low ram. It is caused by an unstable tweak. Unstable tweaks are also the reason why Springboard goes into safe mode, not low ram. iOS freezes are rarely, if ever, caused by low ram. They are likely caused by tweaks not working well with each other or iOS loading something from the NAND. If the app you are currently using crashes, that is likely because it has exceeded its allocated ram usage, as set by Apple or the developer. This will happen even if there is large amounts of free ram.

    No jailbreak tweak takes up 300MB of space. Not even a really big Winterboard theme. Tweaks and themes use at most 2MB of space on top of iOS' stock usage. If the jailbreak tweak is contained within a launch daemon, iOS will request that the tweak in question dump unused pages. iOS will also dump unused pages from Springboard, mainly ones once used by Winterboard as Winterboard marks its memory as inactive when the theme component is no longer in use. Does the amount of apps iOS can hold in ram really matter to those who obsess over iOS' amount of free ram? Be it 4 apps on the 3Gs or 20 on the iPhone 5, they still kill them as soon as they're done with the app. They then proceed to claim the jailbreaking slows down their device because when they go back into an app, iOS has to reload it from the NAND and reprocess it. Instead of iOS just reactivating the inactive ram once used by the app.

    That's because iOS was using its ram for storing things, as designed. Free ram is wasted ram. Stop thinking about ram in terms of Windows. A properly performing iOS device, one that isn't used by someone with an inaccurate bit of knowledge about what they think is best for their device, has about between 5MB and 10MB of ram free after a day of usage. This is normal because the apps are to be frozen in ram so that they are not needed to be relaunched and processed when switched back to. If you do load up a heavy games, iOS will kill off the oldest apps in memory to free up space. This process is nearly instantaneous and a much better process than worrying about how much free ram your device has. If free ram really did matter that much to a user's overall ability to use iOS, Apple would have designed iOS to making having a large amount of free ram a priority.
     
  20. rockitawkwardly, Feb 12, 2013
    Last edited: Feb 12, 2013

    rockitawkwardly macrumors newbie

    Joined:
    Mar 7, 2011
  21. tateu macrumors 6502

    Joined:
    Jan 27, 2012
    #21
    Everyone seems to say that but I don't believe it. If I'm low on ram, sometimes down to less than 30 MB on my 4S, and I get a new email while the phone is locked, I'll see the screen light up a full 30 seconds before I hear the notification sound.
     
  22. iALLOUT4eva macrumors regular

    iALLOUT4eva

    Joined:
    Oct 3, 2012
    Location:
    PlayDay Land
    #22
    Very informative post. #
     
  23. hafr macrumors 68030

    Joined:
    Sep 21, 2011
    #23
    Far from all tweaks are written correctly.

    That's true, but no matter how good iOS is at releasing RAM - it's not gonna release allocated RAM that a tweak claims it needs, at least not without causing freezes.

    Of course excessive memory use can cause system wide instability and crashes.

    You do realise that the process of freeing up RAM (not just deleting the suspended state of an app) freezes the phone, right?

    I had a bunch of tweaks installed on my iPhone 5, and after about eight-nine hours of normal usage I couldn't even open memory intense apps (like Need for Speed: Most Wanted). Checking the memory allocation etc. in Instruments, I saw Springboard used between 50 and 90 % CPU (out of 400 %) and around 800 MB(!) RAM. And this RAM was not being released when trying to open apps, the only thing that happened was that the app crashed and a Low Memory Crash log was being created. Opening less memory intensive apps, like Camera, took a lot longer than normal because iOS was desperately trying to free up RAM, causing freezes.

    I've uninstalled the tweaks I didn't really need, and now I have no problems what so ever. Yes, Springboard does use more memory than on an un-jailbroken device, but it doesn't cause any problems. I could post a list of the tweaks I've uninstalled if you'd like to have a list of the suspects, one or more of these tweaks are definitely badly coded...

    This is theory that is all fine and dandy when talking about a non-jailbroken device. A badly coded tweak can mean this is false though.

    See, if iOS simply deletes the suspended state of apps, the process is pretty seamless, but if it has to release RAM from Springboard, it's gonna freeze up the phone. And if it can't, you'll see either a crash of the app you're trying to open followed by a Low Memory Crash log, or Springboard crashing.

    This becomes pretty obvious when analysing what happens in Instruments.

    ----------

    Yes, but also full of misinformation.
     
  24. bushido Suspended

    bushido

    Joined:
    Mar 26, 2008
    Location:
    Germany
    #24
    this may explain why my iPhone 5 keeps popping to the unlock screen at least once every day (not safe mode)
     
  25. From A Buick 8 macrumors 68040

    From A Buick 8

    Joined:
    Sep 16, 2010
    Location:
    Ky Close to CinCinnati
    #25
    Yes please post your list
     

Share This Page