Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I've been having some trouble with one of the third-party apps on my iPod Touch 4gen, and realized that a lot of apps I use (which isn't many) have been spontaneously exiting, recently. Safari and Youtube both did this a few times today.

Is this normal? iOS apps tend to go back to what they were doing, so it's not that big a deal, but perhaps it's indicative of some hardware or software issue.

I'm using iOS 4.2.1. I don't remember it being quite this bad on 4.1, but that could well just be my imagination.

I looked for crash logs on my computer, but there's been no crash logs created in over a week, even for apps which I know have crashed many times since then. I don't know what that means, if anything.

Should I be concerned? Is there anything I can do? Is there some kind of "is my iPod completely &#@!ed?" diagnostic I should run? I realize this is kind of a vague question.

share|improve this question

3 Answers 3

up vote 4 down vote accepted

It could be a low memory issue. iOS is supposed to manage memory automatically, but I've found that it's not always perfect. Try quitting every single app and restart the device (hold the power button down for several seconds, then slide to power off, then power on again) to see if that fixes it.

share|improve this answer
    
I tried this, and the thing I was trying to do in the app I was using, works! I guess I should reboot my iPod every few days now. :-) –  Ken Dec 11 '10 at 4:45
    
@Ken Rebooting might be a bit excessive, but I usually go through and quit memory-intensive apps (games, etc) every few days on my iPhone to keep it running smoothly –  Kyle Cronin Dec 11 '10 at 4:58
3  
Memory-intensive apps will be forced to quit by the OS. That they're showing up in the fast-app-switching list doesn't mean anything except that they've been run at some point. Realistically iOS doesn't keep anything besides the first 2-4 apps running. The occasional reboot doesn't hurt, especially if you've upgraded the OS. –  Matthew Frederick Dec 11 '10 at 5:37
    
@Matthew That's what's supposed to happen, but sometimes it doesn't. I've gotten low memory errors on more than one app and I've noticed a definite improvement when quitting apps to free up their memory. –  Kyle Cronin Dec 11 '10 at 5:53
2  
Rebooting sounds less excessive than "jailbreaking". :-) And I have no games here, and no idea what app would be most memory-intensive. Probably Safari, though that dies fairly frequently so you'd think it'd free up memory when it does. –  Ken Dec 12 '10 at 17:55

until recently, iOS apps had no automatic memory management tools. Thus developers had to track memory allocations and release them manually. Most developers were good about this - Apple provided tools to check for various kinds of leaks. This is in contrast to mac apps, that do have semi-automatic memory management - garbage collection.

Some iOS developers did not perform enough testing, or could not find the cause of the leaks, and the AppStore checks only for content, and not for app malfunctions, although of course, if an app is DOA, it will be rejected.

In iOS5, the situation for iOS developers has the possibility to improve. There is a new memory management system, called Automatic Reference Counting (ARC). The OS now takes care of retain/release cycles.

iOS developers do need to convert their apps to use ARC, but Apple provides a great tool to help the conversion process. This is built into xCode.

So, hopefully, developers will take the time to improve their apps so that crashing only comes from racing virtual cars, and not from virtual memory...

Hope this helps.

share|improve this answer

I browsed on internet and found that app crashing is associated process to low memory and that's why to adjust the processing speed, it simply shuts off the process. Then reboot, refresh and blah blah blah....

I found 2 main causes:

  1. Refreshing rate: I think iOS devices use Dynamic Ram which needs refreshing/rebooting. When we switch on the iOS device. iOS loads and we never shut it off so the OS stays in RAM. Considering this with PC. We boot and OS comes to RAM, we start process and then after using it we shut down. It means every process which was in RAM was sent back to permanent memory with OS as well.

    We generally do not shut off the iPad and that's why the OS has a permanent sector in RAM, As the RAM is dynamic it needs to be refreshed but we do not do. Hence it's virtual memory becomes too low and hanging occurs.

  2. Single tasking device: one process at a time. So earlier devices do hang and applications crash.

Let me know your comments.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.