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:
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
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
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.
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.
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 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
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.
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