title: How to know how much ram size my app needs?
body: <p>I am new to android and my app sometimes resulted in an <code>outOfMemoryException</code>. Therefore I have to check how much ram my app is using and try to reduce it.</p>
  
  <p>Two questions: </p>
  
  <ol>
  <li>How to know the ram size that my app is using?</li>
  <li>Normally, what is the safe threshold for an app's ram size so that it would not cause an <code>outOfMemoryException</code> ?</li>
  </ol>
  
  <p>Thanks a lot for your help! </p>