title: java.lang.OutOfMemoryError: Failed to allocate a 31961100 byte allocation with 15257484 free bytes and 14MB until OOM
body: <p>I am doing scaled a bit map like below</p>
  
  <pre><code> Bitmap resizedBitmap = Bitmap.createScaledBitmap(BitmapFactory.decodeFile(picturePath), 960, 730, false);
  </code></pre>
  
  <p>doing this processing i am upload a images some times i am getting below type error</p>
  
  <pre><code>java.lang.OutOfMemoryError: Failed to allocate a 31961100 byte allocation with 15257484 free bytes and 14MB until OOM
  </code></pre>
  
  <p>Please help me how to solve?</p>