Bitmap.recycle()
http://developer.android.com/reference/android/graphics/Bitmap.html#recycle()
07.04.2011 13:21, vani reddy пишет:
Hi ,
I am gettting the following exception in log
04-07 14:06:13.759: ERROR/AndroidRuntime(3233):
java.lang.OutOfMemoryError: bitmap size exceeds VM budget
04-07 14:06:13.759: ERROR/AndroidRuntime(3233): at
android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
04-07 14:06:13.759: ERROR/AndroidRuntime(3233): at
android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:459)
04-07 14:06:13.759: ERROR/AndroidRuntime(3233): at
android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:515)
04-07 14:06:13.759: ERROR/AndroidRuntime(3233): at
com.tli.bee.CoverflowExample.getBitmap(CoverflowExample.java:558)
04-07 14:06:13.759: ERROR/AndroidRuntime(3233): at
com.tli.bee.CoverflowExample.run(CoverflowExample.java:542)
04-07 14:06:13.759: ERROR/AndroidRuntime(3233): at
java.lang.Thread.run(Thread.java:1096)
How to recycle the bitmap?
--
Regards,
Vani Reddy
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en