How long do apps stay in the memory for (on standby)

I ask as my iPhone 4 has the bad habit of often hanging when i close apps down. Sometimes even crashing the handset.

I turned my phone off for a couple of minutes earlier to give my phone a break and to clear any 'rogue' apps that might been running in the background.

When I turned the handset back on I brought up the 'multitasking' screen to find apps in the background. Strange. I would have thought that turning it off would have refreshed the memory?

* Edit - just noticed that the clipboard contents that were copied were also retained in memory too. Anyone else having this?

Message was edited by: nishrons

Windows, Windows XP

Posted on Aug 20, 2010 8:51 AM

Reply
6 replies

Aug 20, 2010 9:28 AM in response to nishrons

The way multitasking works is the developer can add six different aspects. The key aspects are Fast App Switching, Background Location/Music, and File Transfer Services.

Apps running FAS and FTS such as news feeds that refresh upon reopening will update itself upon startup. Flickr, FaceBook, etc will continue file transfers while in the background such as a photo album upload.

FAS and Background Location/Music apps such as Navigation GPS will run in the background and state "In 100 Yards, turn right onto Pizza Parkway".

They stay in memory unless they crash upon restarting. Developers need to iron out some bugs for this dilemma, but when they crash it goes back to the starting point.

Most of them stay in memory running even with standby. You can close running apps by double tapping, then holding a running app, and pressing the - key slowly or rapidly.

Note that it's a good idea to close what you aren't using as most of these run a high amount of RAM. I can run 20+ apps and a system memory checker states I have 50 MB remaining in processing memory. So it's a good idea to close some of them including iOS3 developed apps.

Aug 20, 2010 9:29 AM in response to nishrons

The problem, is there is no indication if the applications are in a standby state ( last known state saved, not eating up resources ), or if they are actually still running ( like many music apps, or navigation apps may do ). This is one, that I would like to see fixed via a change to the OS... An indicator in the apps tray, telling you if the app is still eating up resources...

/off to the /feedback link for me.

Aug 20, 2010 9:53 AM in response to nishrons

Hi

Thanks for the replys. Yes I always close down apps (by double tapping the menu button then holding the icons down the pressing the - button) when im finished - it crashes/hangs a lot when I do this though.

Just found it very strange that text I copied and apps that were running in the background were still present - After I turned the phone off and on again. Sure that never happened on my 3GS?

Message was edited by: nishrons

Message was edited by: nishrons

Aug 20, 2010 9:50 AM in response to jdoolitt

If a music streaming app is running in the background, it should be obvious since you can hear it.

If a navigation app is running in the background, there will be the indicator in the status bar that indicates location or GPS services are being used.

Very few 3rd party apps actually run in the background or will run in the background after being updated for iOS4 - the overwhelming majority will continue to be quit or placed in a suspended state which aren't using processor cycles or battery.

In regards to a navigation app like TomTom, the following was copied from this link.

http://whenwillapple.com/blog/2010/04/19/iphone-os-4-multitasking-explained-agai n/

What happens when you’ve arrived and want to shut it off so it doesn’t drain the battery? No, you don’t need to manually task manage and force close. When you reach your destination and are no longer navigating, it will automatically stop using the background navigation and go into regular suspend mode when you leave the app. If you leave the app while still in navigation mode and disconnect from power, you’ll soon get a local notification popup asking if you would still like to navigate in the background. Tap no and send TomTom into suspend mode. You can always confirm that it is no longer running in the background by looking for the new GPS arrow icon (see picture below)…if it’s gone, it’s not navigating.


All 3rd party navigation apps that are updated to run in the background may not include the same which is up to the developer for the app, but any developer for such as app that is worth their salt will do so. If not, there will be the location services indicator in the status bar when such an app is running in the background.

+Q: How do you close applications when multitasking?+

+A: (Scott Forstall) You don’t have to. The user just uses things and doesn’t ever have to worry about it.+

+A: (Steve Jobs) It’s like we said on the iPad, if you see a stylus, they blew it. In multitasking, if you see a task manager… they blew it. Users shouldn’t ever have to think about it.+

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How long do apps stay in the memory for (on standby)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.