Bitmap Size Exceed VM budget In android
<p>In my android app i have set the image on ImageView capture by camera. its working fine. but when i capture image and back to the screen with setting that image on imageview and if i do this 3 to 4 time i got This ERROR BITMAP SIZE EXCEEDS VM BUDGETS ...................please need any solution for it.</p>

<pre><code>this is my code below :

 BitmapFactory.Options options = new BitmapFactory.Options();
                 options.inSampleSize = 4;
                 options.inTempStorage = new byte[16 * 1024];
                 image_from_camera.setImageBitmap(BitmapFactory.decodeFile(
                 "/sdcard/"+chore_string+".jpg", options));

i have done using bitmap.recycle(); or System.gc();  
</code></pre>

<p>but this is not working . i need to have free the memory from bitmap when again camera button click to take second picture in app.  PLEASE NEED ANY HELP........</p>

<p>THANKS. ...</p>
