*Looks at his N95 8GB*
*Stares blankly at thread*
*Leaves thread*
![]()
Yeah, I'd stare at the brick and leave too.
*Looks at his N95 8GB*
*Stares blankly at thread*
*Leaves thread*
![]()
Interesting. As I said above, virtual memory is mandated by the mach kernel memory manager. But what does virtual memory do if there is no swap space--isn't that the whole point of VM? I've run top on the iPhone to look at the active processes; how does one have a giant address space and applications with hilariously large VM shadows (like 330MB) if there is no disk paging?
Interesting. As I said above, virtual memory is mandated by the mach kernel memory manager. But what does virtual memory do if there is no swap space--isn't that the whole point of VM? I've run top on the iPhone to look at the active processes; how does one have a giant address space and applications with hilariously large VM shadows (like 330MB) if there is no disk paging?
Nope - certainly not within the sandbox environment anyway.
This from the Apple Human Interface pdf:
Memory is a critical resource in iPhone OS, so managing memory in your application is crucial. Because the iPhone OS virtual memory model does not include disk swap space, you must take care to avoid allocating more memory than is available on the device. When low-memory conditions occur, iPhone OS warns the running application and may terminate the application if the problem persists. Be sure your application is responsive to memory usage warnings and cleans up memory in a timely manner.
As you design your application, strive to reduce the applications memory footprint by, for example, eliminating memory leaks, making resource files as small as possible, and loading resources lazily.
I don't really agree with your conclusions. First of all, there is bound to be a new iPhone coming, probably with more RAM. (Edit: I mean that this would allow more background stuff in the future so the 1 or 2 app limit now would not be present for the new iPhone owners)
Second of all, if Apple is wise enough, they won't allow the apps to keep running themselves, but instead allow a normal app to launch a separate background process in the background, with very high restrictions on memory and CPU usage.
If these background apps use shared libraries for TCP/IP etc, they could be implemented with a footprint of say 100-500kB of RAM. They would just communicate over the internet (or with the GPS) and buffer their data, and only if something happens that the user should know about (e.g. an incoming IM), they could wake the iPhone up and warn the user, who can then start the full app to see and respond to the event.
<--cut-->
Yes, the idea is that it's for more than Apple-only applications.I may be mistaken, but I believe I receive text messages while running other programs. Isn't that push notification?
no doubt!!
and for AOL IM (like every blackberry out there can do)![]()
This article is pure speculation. No source. No nothing. Just some fodder for more page views. I'll come back when you have some of substance.
Well, like me and many others, the reason to purchase the iPhone 3G was the fact that push notifications was coming a few months later. It would suck if they released another iPhone that fixes the problems to get background apps or push notifications running.
Don't hurt me for saying but I will jump ship on the iPhone as soon as the NVidia Tegra shipps in a smartphone that has either Android or WM on it, preferrably Android. The Tegra is leaps and bounds over anything out there. If the iPhone would incorporate it I would stay but Apple seems set in their ways. Not very "dynamic" of them.![]()
With no apps? Tegra is too power hungry for a mobile phone, meant more for MID range.
LOL, guess you're a little behind aren't you?
Don't expect that thing to come to market. Apple's recent patent victories have made the majority of that product illegal. Expect it to change radically or totally disappear.
First of all there appears to be a total lack of understand about the way the iPhone currently handles memory, by the majority of users.
There is NOT enough memory for even a SINGLE additional app to run normally in the backgorund. Period.
128 mb of memory, 90 mb of which is constantly in use. 45 distributed amongst the Phone and Mail app. An additional 10 each sucked up by iPod and Safari once they are opened.
20 mb is just barely enough to run a 3rd party app smoothly, let alone KEEP it running and move on to something more.
Sorry but the article is total nonsense and doesn't even consider reality in its conclusions.
The HARDWARE HAS NOT CHANGED,THEREFOR the method for "background" processes (push) has not changed. Its simply not ready for 3rd party implementation.
Hack your phone and use backgrounder. Positive results? NOPE. Worst thing you could do.
I really hope they aren't dropping push notifications altogether. Some applications simply don't make sense to be running all the time. For Tweetie push notifications make much more sense while for AOL Radio, Pandora or even AIM running in the background would make more sense.
I fear that Apple thinks now push notifications is too hard and to make up for the lack thereof they are instead implementing background running processes.![]()
I thought that the classic Mac OS simply couldn't use preemptive multitasking because of the way all of the legacy applications were coded, so they came up with a bizarre half-assed hybrid multitasking model, similar to what was done with Windows 9x (which also had to deal with the problem of legacy real-mode code).This reminds of Apple's stance with multitasking in the original Mac OS. Apple dismissed the need for preemptive multitasking in a computer OS arguing that users simply didn't require it. When they finally did realize that multitasking would be valuable to users they chose to release something called cooperative multitasking insisting that this was better for users. It was not and Apple eventually incorporated the preemptive multitasking that we all enjoy today.