• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Coding with VM limitation on the iPhone?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Coding with VM limitation on the iPhone?
      • From: Jonathon Kuo <email@hidden>
References: 
 >Coding with VM limitation on the iPhone? (From: Jonathon Kuo <email@hidden>)

  • Prev by Date: Re: [iphone] displaying multiple images
  • Next by Date: Re: Coding with VM limitation on the iPhone?
  • Previous by thread: Coding with VM limitation on the iPhone?
  • Next by thread: Re: Coding with VM limitation on the iPhone?
  • Index(es):
    • Date
    • Thread