Hi All,
I have created app in which i am getting a exception:
07-15 18:29:28.949 225 225 E dalvikvm-heap: 582400-byte external
allocation too large for this process.
07-15 18:29:29.079 225 225 E GraphicsJNI: VM won't let us allocate
582400 bytes
07-15 18:29:29.109 225 225 E AndroidRuntime: FATAL EXCEPTION: main
07-15 18:29:29.109 225 225 E AndroidRuntime:
java.lang.OutOfMemoryError: bitmap size exceeds VM budget
07-15 18:29:29.109 225 225 E AndroidRuntime: at
android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
07-15 18:29:29.109 225 225 E AndroidRuntime: at
android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:563)
07-15 18:29:29.109 225 225 E AndroidRuntime: at
android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:
439)
07-15 18:29:29.109 225 225 E AndroidRuntime: at
android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:
697)
07-15 18:29:29.109 225 225 E AndroidRuntime: at
android.content.res.Resources.loadDrawable(Resources.java:1709)
07-15 18:29:29.109 225 225 E AndroidRuntime: at
android.content.res.Resources.getDrawable(Resources.java:581)
07-15 18:29:29.109 225 225 E AndroidRuntime: at
android.view.View.setBackgroundResource(View.java:7533)
I want to understand, is this exception because of less memory or
memory leak.
How the Heap is filled like this.
Please help me to understand why this is coming.
Thanks in Advance
Chetan Chauhan
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en