Read mmap limitations
||Date Originated:||03-Jun-2014 09:46 AM|
According to the Apple documentation (https://developer.apple.com/library/mac/documentation/performance/conceptual/managingmemory/articles/aboutmemory.html) there should be no limit to the size of read-only files, as pages should be paged out accordingly.
Steps to Reproduce:
1. Open the Xcode project in this GitHub repo: https://github.com/mekjaer/ios-mmap
2. Tweak the parameters in AppDelegate.m - line 19
3. Run example on different iOS devices
No limit to the size of the read-only mmap'ed files
Depending on the number of files and device the maximum size for a real-only mmap'ed file is between 300mb to 1900mb.
iPad Air, iPhone 5s, iPhone 4s
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!