Re: Get current amount of available RAM
Re: Get current amount of available RAM
- Subject: Re: Get current amount of available RAM
- From: "Michael Ash" <email@hidden>
- Date: Thu, 28 Aug 2008 11:41:15 -0400
On Thu, Aug 28, 2008 at 12:44 AM, Alex Kac <email@hidden> wrote:
> Right - but that doesn't work for my situation. I need actual free available
> physical RAM. Like when you use top and it shows you:
> PhysMem: 1173M wired, 5340M active, 2658M inactive, 9175M used, 1065M free.
This "free" value is essentially useless. Mac OS X will use all
available RAM for things like hard disk caches. While it's true that
if you have 1GB "free" that you have a bunch of physical RAM sitting
around not being useful, the converse is not true. It's quite common
to have a system with a lot of conceptually free resources showing
only 15MB of "free" RAM, because much of the rest has been dedicated
to caching files and other such things. If you base a decision on that
number, you'll hit the "low resources" path in a lot of cases where it
is unwarranted.
Mike
_______________________________________________
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