Memory-mapped files and low-memory scenarios
How does the iOS platform handle memory-mapped files during low-memory scenarios? By low-memory scenarios, I mean when the OS sends the UIApplicationDidReceiveMemoryWarningNotification notification to all observers in the application. Our files are mapped into memory using +[NSData dataWithContentsOfMappedFile:] , the documentation for which states: A mapped file uses virtual memory techniques to avoid copying pages of the file into memory until they are actually needed. Does this mean that the OS will also unmap the pages when they're no longer in use? Is it possible to mark pages as being no