title: Create bitmap out of memory in android
body: <p>I have the following code to create a canvas with a size of 8303 × 5540, but running that code produces a <code>OutOfMemoryException</code>.</p>
  
  <pre><code>scaledBitmap = Bitmap.createBitmap(8303, 5540, Bitmap.Config.ARGB_8888);
  </code></pre>
  
  <p>How can I resolve this problem?</p>