Re: Coding with VM limitation on the iPhone?
Re: Coding with VM limitation on the iPhone?
- Subject: Re: Coding with VM limitation on the iPhone?
- From: Luke the Hiesterman <email@hidden>
- Date: Tue, 18 Aug 2009 16:37:22 -0700
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]
Luke
On Aug 18, 2009, at 4:34 PM, Jonathon Kuo wrote:
I'm writing an app for the iPhone, but I need to be mindful how much
virtual memory there is available to the app when it runs, so I can
manage allocing and deallocing some large arrays. I'm guessing that
the OS runs in a small amount (100MB?) of flash memory compared to
the 16GB or 32GB of general storage memory? Also, is there a system
call I can invoke from within my app to determine how large it is
getting?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden