Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

iPad Pro has 4 GB of RAM. There are Macs with that much RAM that can run Xcode.


The 1TB configs have 6 GB of RAM making it even less of leap to assume they can do it soon.


But iOS doesn't have a concept of swap like a traditional PC OS like macOS or Windows does, does it?


No, but iOS can kill apps in the background during times of high memory pressure.


So it can run xcode for about 4 seconds until the OS decides to kill it?


> in the background


So when you debug your app?


Killing Xcode would also end your debug session. Presumably Apple will think that far ahead and grant the necessary entitlements so that this doesn't happen.


Correct, it kills apps before they swap.


iOS still runs the darwin kernel. I'd be shocked if it didn't use swap.


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.


I've always figured it had most to do with keeping responsiveness high and predictable.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: