On Aug 18, 2009, at 4:37 PM, Luke the Hiesterman wrote:

Your app will not be paged to the disk at all. It must run entirely on in physical memory. To know when you're running out of memory, override -[UIViewController didReceiveMemoryWarning]

On Aug 18, 2009, at 4:38 PM, Alex Kac wrote:

You typically only get about 5-40MB of available RAM. Its not flash. Its real RAM. But you have no guarantees. The iPhone has a robust memory system with low memory warnings and such and you just have to use those to determine if you have enough.

Hmm, that's kind of a harsh environment... The notification mechanism is great for the purpose of controlling bloat, but doesn't tell you how much VM you have to play with at the outset. I suppose all I can do is *try* to alloc() and if it fails, well, then what? It sounds like it's mostly out of my control if whatever else is running has already consumed VM. Gotta rethink this entire thing.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to