• 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: Leopard real amount of RAM used by application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leopard real amount of RAM used by application


  • Subject: Re: Leopard real amount of RAM used by application
  • From: email@hidden
  • Date: Tue, 13 Nov 2007 13:21:07 -0500

On Nov 13, 2007, at 12:19 PM, Frank Reiff wrote:

I simply use the activity monitor and look at the "real memory" and the "virtual memory" columns. The utilization that I refer to is the "real memory" column.

This is no doubt simplistic and I don't really know how the memory allocation schemes of Mac OS X work, much less what has changed in Leopard..

Check out the following thread from a couple weeks ago, especially Ben and Chris's responses:

http://lists.apple.com/archives/Cocoa-dev/2007/Nov/msg00241.html

Is this 1 Gb simply used because it's there and no other processes need? will it go down again if Leopard needs the RAM? is the program going to run out of memory and crash?

What makes this a bit of a drag is that each test takes ages to complete, so I want to avoid using instrumented code or a managed execution environment if it's going to mean that the code takes 10 times longer.. surely there's a better way?


Since the memory utilization peaks early, can you analyze just the first few seconds or minutes? Check out the ObjectAlloc in Instruments and "heap" and "leaks" in the Terminal.


Aaron Burghardt

_______________________________________________

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


  • Prev by Date: Re: Debugging on Leopard
  • Next by Date: Re: Spewing stderr to an NSTextView
  • Previous by thread: Leopard real amount of RAM used by application
  • Next by thread: re: Leopard real amount of RAM used by application
  • Index(es):
    • Date
    • Thread