title: BitmapFactory OOM driving me nuts
body: <p>I've been doing a lot of searching and I know a lot of other people
  are experiencing the same OOM memory problems with <code>BitmapFactory</code>.  My
  app only shows a total memory available of 4MB using <code>Runtime.getRuntime
  ().totalMemory()</code>.  If the limit is 16MB, then why doesn't the total
  memory grow to make room for the bitmap?  Instead it throws an error.</p>
  
  <p>I also don't understand that if I have 1.6MB of free memory according
  to <code>Runtime.getRuntime().freeMemory()</code> why do I get an error saying "VM
  won't let us allocate 614400 bytes"?  Seems to me I have plenty
  available memory.</p>
  
  <p>My app is complete except for this problem, which goes away when I
  reboot the phone so that my app is the only thing running.  I'm using
  an HTC Hero for device testing (Android 1.5).</p>
  
  <p>At this point I'm thinking the only way around this is to somehow
  avoid using <code>BitmapFactory</code>.</p>
  
  <p>Anyone have any ideas on this or an explanation as to why VM won't
  allocate 614KB when there's 1.6MB of free memory?</p>