Re: Determining available or installed RAM on iOS device?
Re: Determining available or installed RAM on iOS device?
- Subject: Re: Determining available or installed RAM on iOS device?
- From: James Montgomerie <email@hidden>
- Date: Tue, 11 Feb 2014 17:32:03 +0000
On 11 Feb 2014, at 15:46, Jens Alfke <email@hidden> wrote:
> I'm well aware that on most modern operating systems "available RAM" is not a very informative number because virtual memory makes RAM and address space very different things. But on iOS, as I understand it, there is no swap file and address space is always allocated out of physical RAM.
Watch out - that's the truth, but not the whole truth: memory is still freed up by discarding or writing memory-mapped stuff out to disk, and freeing purgeable regions (although how this plays with the memory warning system I don't exactly know, and I don't believe it's documented).
Jamie.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden