• 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: iPad Pro apps given more memory?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPad Pro apps given more memory?


  • Subject: Re: iPad Pro apps given more memory?
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 09 Dec 2015 15:19:38 -0800

> On Dec 9, 2015, at 2:56 PM, Rick Mann <email@hidden> wrote:
>
> One of the WWDC videos stressed that iOS apps are given no more than 600 MB of RAM. Our app is VERY RAM-intensive.

Slightly off-topic, but I wonder if you could use mmap to give your app more address space? Create a big empty file, mmap it as writeable, then use a custom allocator to manage memory in the mapped space.

(This doesn’t actually give you more RAM; the mapped address space will tend to get paged out to storage so it’ll definitely be slower than real RAM, but it’s better than crashing!)

—Jens


_______________________________________________

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: iPad Pro apps given more memory?
      • From: Rick Mann <email@hidden>
References: 
 >iPad Pro apps given more memory? (From: Rick Mann <email@hidden>)

  • Prev by Date: NSView -identifier - is there more to it?
  • Next by Date: Re: iPad Pro apps given more memory?
  • Previous by thread: iPad Pro apps given more memory?
  • Next by thread: Re: iPad Pro apps given more memory?
  • Index(es):
    • Date
    • Thread