I’m currently playing with memory-mapped files on iOS 12.2. If I load a large file, say around 2 gb, and try to map it entirely,
mmap fails with error
ENOMEM (i.e. “No memory is available”).
I’m aware of virtual memory limitations on 32-bit systems, but I’m working with a 5th generation iPad which is 64-bit by nature. On top of that I’m pretty sure I’m building the app for arm64 - just double-checked it on XCode.
Can you confirm this behavior? Is there actually a limitation on how much virtual memory you can use on iOS or am I just missing something?