title: Function to get my app's allocated memory heap
body: <p>Anyone knows what is Android function to get my app's allocated memory info as shown in DDMS?</p>
  
  <p>It is the value highlighted by yellow:</p>
  
  <p><img src="https://i.stack.imgur.com/g0iYw.png" alt="DDMS Heap info"></p>
  
  <p>Thanks</p>