• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Get current amount of available RAM
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Get current amount of available RAM (From: Alex Kac <email@hidden>)
 >Re: Get current amount of available RAM (From: Charles Srstka <email@hidden>)
 >Re: Get current amount of available RAM (From: Alex Kac <email@hidden>)

  • Prev by Date: Re: Deep Recursion
  • Next by Date: Re: CFBundleIconFile: heiß or hot?
  • Previous by thread: Re: Get current amount of available RAM
  • Next by thread: Re: Get current amount of available RAM
  • Index(es):
    • Date
    • Thread