Sharing memory and virtual memory on iOS

Does iOS support memory sharing and virtual memory that automatically starts like Linux?

+6
source share
2 answers

iOS has virtual memory, but there is no backup storage, so there is no I / O in swap memory.

The Apple Virtual Memory Documentation should give a general idea of ​​how iOS provides virtual memory, however it has not been updated since 2013 and does not cover the newer 64-bit details.

0
source

As Petah wrote, he has virtual memory, but it does not collapse automatically in the backup storage, you can hard- map the map file .
There are several WWDC videos that come across this issue:

And, probably, the conversation is again in one WWDC 2011 video. I don’t know why you are asking about it, but if you are concerned about memory, there are many methods to keep it low, file map, correctly respond to memory warnings , flushed memory, NSCache. I highly recommend you watch the second video.

0
source

All Articles