title: Android memoryInfo values
body: <p>I am using this block of code for determing, actual allocated memory. </p>
  
  <pre><code>    ActivityManager activityManager =  (ActivityManager) getSystemService(ACTIVITY_SERVICE);
      MemoryInfo memoryInfo = new MemoryInfo();
      activityManager.getMemoryInfo(memoryInfo);
      long one=memoryInfo.availMem;
      Log.i("memory free1", "" + memoryInfo.availMem);
  </code></pre>
  
  <p>While creating and asigning String[100] field, I get value 61440. Is it in bytes or kB? Documentation says nothing about it.</p>
  
  <p>Thanks</p>