Re: Leopard real amount of RAM used by application
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