Possible Duplicate:
Android: Strange out of memory issue while loading an image to a Bitmap object
Bitmap bitmap = Bitmap.createBitmap(view.getWidth(),view.getHeight(),Bitmap.Config.ARGB_8888);
why this code throw exception: java.lang.OutOfMemoryError:bitmap size exceeds VM budget? I just get the width and height of the view which present on the screen. How can I solve the problem?