title: Responding to memory pressure on Mavericks?
body: <p>On iOS we receive <code>UIApplicationDidReceiveMemoryWarningNotification</code> when memory gets low. Is there a similar construct for OS X applications, especially those that target Mavericks? </p>
  
  <p>I know that OS X has a swap file and is perfectly able to page out memory to flash/disk. But I suppose if applications can make intelligent decisions on which memory to purge, there would be less data to page out, wouldn't it?</p>
  
  <p>Just wondering since <a href="https://apple.stackexchange.com/questions/107126/what-scale-or-measure-does-mavericks-memory-pressure-adhere-to">Mavericks' Activity Monitor has a "memory pressure" indicator</a>, is there a way for applications to respond to this situation when it happens.</p>