• 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: How do I get memory usage numbers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I get memory usage numbers?


  • Subject: Re: How do I get memory usage numbers?
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 13 Aug 2012 14:54:27 -0700

On Aug 13, 2012, at 2:01 PM, Charlie Dickman <email@hidden> 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. It simply forces all resident pages to be paged back out. It's not going to free up any address space, and it's not going to speed up the system (rather, it'll slow it down a lot, as every active process has to start hitting the disk to page its address space back in.)

—Jens
_______________________________________________

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


  • Follow-Ups:
    • Re: How do I get memory usage numbers?
      • From: Alex Zavatone <email@hidden>
References: 
 >How do I get memory usage numbers? (From: Charlie Dickman <email@hidden>)
 >Re: How do I get memory usage numbers? (From: Jens Alfke <email@hidden>)
 >Re: How do I get memory usage numbers? (From: Charlie Dickman <email@hidden>)
 >Re: How do I get memory usage numbers? (From: David Duncan <email@hidden>)
 >Re: How do I get memory usage numbers? (From: Charlie Dickman <email@hidden>)

  • Prev by Date: Re: Classes incompatible with weak references
  • Next by Date: Re: Using NSPipe to get system command output
  • Previous by thread: Re: How do I get memory usage numbers?
  • Next by thread: Re: How do I get memory usage numbers?
  • Index(es):
    • Date
    • Thread