On May 28, 2012, at 3:20 PM, Charlie Dickman wrote:

> Is (Are) there functions that report application memory usage, as a whole, on 
> the stack, in the autorelease pool, in the heap?

Not easily-used ones. It's not something that processes other than diagnostic 
or admin tools usually care about. You can use the Instruments app, or 
command-line tools like 'heap' and 'leaks', to find this out. (Questions about 
those tools should go to the xcode-users list.)

If you _really_ want to know what to call, the usual answer is to go look up 
the source to the 'top' tool in the Darwin open-source repository, since it's 
the main client of those APIs whose source is accessible. (Questions about 
those APIs would best be sent to the darwin-userlevel mailing list, not here.)

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com
  • Memory use Charlie Dickman
    • Re: Memory use Jens Alfke

Reply via email to