Does iOS
support memory swapping and virtual memory that automatically runs like Linux?

- 71
- 1
- 4
-
1Folks putting things on hold NEED TO GET A LIFE. This is a perfectly legitimate question. – user3344003 Dec 14 '15 at 17:52
-
1Nah it's okay,I already got what I need – Annisaa Adindra Dec 16 '15 at 10:12
2 Answers
iOS
has virtual memory, but no backing store, so there is no paging in/out from swap memory.
Apple's About the Virtual Memory System documentation should give you a general idea about how iOS provides virtual memory, however it hasn't been updated since 2013 and doesn't cover newer 64-bit details.
As Petah wrote it does have a virtual memory but it doesn't swap automatically on a backing store, you can map file tough.
There are some WWDC videos that face that subject:
And probably the talk again in one WWDC 2011 video. I don't know why you are asking that, but if it is about about memory occupation concern, there are a lot of techniques to keep it low, file map, respond correctly to memory warnings, purgeable memory, NSCache. I strongly suggest you to watch the second video.