title: Android - Bitmap and memory management?
body: <p>I've seen in a lot of samples, that developers call <code>recycle()</code> on bitmap, and then set it to <code>null</code>.
  Why is this necessary, doesn't the garbage collector take care of releasing the bitmap?</p>
  
  <pre><code>Bitmap bitmap = BitmapFactory.decodeStream(inputStream);
  bitmap.recycle();
  bitmap = null;
  </code></pre>