title: Problem with big images ( java.lang.OutOfMemoryError: bitmap size exceeds VM budget )
body: <p>as a many people i have a problem with big images too. 
  ok,here my code.  I found on stackoverflow how to fix this using BitmapFactory.Options.  But in my situations i get image not from file. Can anyone tell me how to do this with Bitmap which already created in memory ( i get this picture from camera on phone)</p>
  
  <pre><code> public void getImageAndSend( )
    {
  
       Bitmap newbmp ;
           newbmp= Bitmap.createBitmap(oBmp.getWidth(), oBmp.getHeight(),oBmp.getConfig());////&lt;----------error here
        log("widt oBmp = "+oBmp.getWidth());/// width = 2048
        log(" height oBmp = "+oBmp.getHeight());///height 1538
        //BitmapFactory.Options options = new BitmapFactory.Options(); // &lt;----- it's possible to do it without `BitmapFactory.decodeFile(pathToFile,options) ?? 
        //options.inTempStorage = new byte[16*1024];
            Canvas canvas = new Canvas(newbmp);
            //code 
    System.gc();/// can't right understand but this line fixed this problem on emulator but not on real device   
  </code></pre>
  
  <p>}</p>
  
  <p>please tell me how to fix my problem ? : (
  On emulator im not have this error. But on real device i see this error (bitmap size exceeds VM budget)
  Regards, Peter. </p>