Re: How do I get memory usage numbers?

2012-08-15 Thread Greg Guerin
Charlie Dickman wrote: What I want to do is determine the ratio of inactive to free in order to determine when to execute the purge command to free up the inactive memory before the system gets into trouble. It's unnecessary to purge or free Inactive memory. Quoting from:

Re: How do I get memory usage numbers?

2012-08-13 Thread Jens Alfke
On Aug 12, 2012, at 7:10 PM, Charlie Dickman 3tothe...@comcast.net wrote: Initially I'm interested in system wide memory usage (free, wired,active, inactive) Hm, I've always found those numbers to be nearly useless, but YMMV. If hacking through Darwin is the only way to do this than never

Re: How do I get memory usage numbers?

2012-08-13 Thread David Duncan
On Aug 12, 2012, at 7:10 PM, Charlie Dickman 3tothe...@comcast.net wrote: Initially I'm interested in system wide memory usage (free, wired,active, inactive) but following on I might like numbers for just my process. If hacking through Darwin is the only way to do this than never mind but

Re: How do I get memory usage numbers?

2012-08-13 Thread Charlie Dickman
I'm using the system say command to speak phrases within my app. I've tried NSSpeechSynthesizer and Carbon's Speech Synthesis Engine but both have a serious memory leak problem which gets my app into trouble. By using the system say command I move the problem out of my app and into the system.

Re: How do I get memory usage numbers?

2012-08-13 Thread Jens Alfke
On Aug 13, 2012, at 2:01 PM, Charlie Dickman 3tothe...@comcast.net wrote: What I want to do is determine the ratio of inactive to free in order to determine when to execute the purge command to free up the inactive memory before the system gets into trouble. That's not what purge(1) does.

Re: How do I get memory usage numbers?

2012-08-13 Thread Alex Zavatone
Actually, when Safari is paging to the HD because it decided it needed to use 5+ GB of RAM, purge is really useful in temporarily getting the Mac back to normal speed until the memory bloats again. On Aug 13, 2012, at 5:54 PM, Jens Alfke wrote: On Aug 13, 2012, at 2:01 PM, Charlie Dickman

How do I get memory usage numbers?

2012-08-12 Thread Charlie Dickman
How do I get system memory usage numbers within my app? Charlie Dickman 3tothe...@comcast.net ___ 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

Re: How do I get memory usage numbers?

2012-08-12 Thread Jens Alfke
On Aug 12, 2012, at 3:21 PM, Charlie Dickman 3tothe...@comcast.net wrote: How do I get system memory usage numbers within my app? What kind of memory usage numbers? There are a lot of different ones — take a look at the man page for 'top', or at all the different views in Activity Monitor.

Re: How do I get memory usage numbers?

2012-08-12 Thread Charlie Dickman
Initially I'm interested in system wide memory usage (free, wired,active, inactive) but following on I might like numbers for just my process. If hacking through Darwin is the only way to do this than never mind but with all of the programs out there that include these numbers there must be a