title: Memory used by iPhone app
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5046711/how-to-programmatically-tell-how-much-memory-an-ios-app-is-using">How to Programmatically Tell How Much Memory an iOS App is Using?</a>  </p>
  </blockquote>
  
  
  
  <p>I need to know how much memory is used by an iPhone an application when the application is running in foreground or background.
  it will better if it shows memory useage in every 5 sec.
  is it possible to write a code to show the  memory in use ?
  Any suggestion will be appriciated </p>