Re: Get current amount of available RAM
Re: Get current amount of available RAM
- Subject: Re: Get current amount of available RAM
- From: Charles Srstka <email@hidden>
- Date: Wed, 27 Aug 2008 23:40:26 -0500
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
_______________________________________________
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