Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
metafizikal
· 8y ago · 0 comments
But iOS doesn't have a concept of swap like a traditional PC OS like macOS or Windows does, does it?
Comments
[–]
saagarjha
8y ago
No, but iOS can kill apps in the background during times of high memory pressure.
[–]
rhacker
8y ago
So it can run xcode for about 4 seconds until the OS decides to kill it?
[–]
saagarjha
8y ago
> in the background
[–]
rhacker
8y ago
So when you debug your app?
[–]
bunnycorn
8y ago
Correct, it kills apps before they swap.
[–]
Ivoah
8y ago
iOS still runs the darwin kernel. I'd be shocked if it didn't use swap.
[–]
saagarjha
8y ago
It doesn't, I believe mostly for reasons of keeping apps from using large amounts of memory in general, and by helping keep write cycles to a minimum.
[–]
glhaynes
8y ago
I've always figured it had most to do with keeping responsiveness high and predictable.