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.
On Aug 27, 2008, at 11:40 PM, Charles Srstka wrote:
On Aug 27, 2008, at 11:31 PM, Alex Kac wrote:
I need to check for free RAM before performing a specific
operation. I've Googled and checked in the docs and I suspect its
my terminology that's just out of whack.
So what is the best way to find out how much available RAM is
available in a Cocoa app?
Alex Kac - President and Founder
Web Information Solutions, Inc.
"The optimist proclaims that we live in the best of all possible
worlds; and the pessimist fears this is true."
-- James Clabell
For a 32-bit app, that'll be 4 GB minus however much RAM your app is
using already; for a 64-bit app, it'll be the amount of free space
on your hard disk.
Charles
Alex Kac - President and Founder
Web Information Solutions, Inc.
"If at first you don't succeed, skydiving is not for you."
-- Francis Roberts
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]