Skip to content

Instantly share code, notes, and snippets.

@atin360
Created July 2, 2012 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atin360/3032313 to your computer and use it in GitHub Desktop.
Save atin360/3032313 to your computer and use it in GitHub Desktop.
E/GraphicsJNI( 2271): VM won't let us allocate 637920 bytes
I/MonoDroid( 2271): UNHANDLED EXCEPTION: Java.Lang.OutOfMemoryError: Exception of type 'Java.Lang.OutOfMemoryError' was thrown.
I/MonoDroid( 2271): at Android.Runtime.JNIEnv.CallStaticObjectMethod (intptr,intptr,Android.Runtime.JValue[]) <0x0006f>
I/MonoDroid( 2271): at Android.Graphics.BitmapFactory.DecodeResource (Android.Content.Res.Resources,int) <0x00123>
I/MonoDroid( 2271): at JetBoy.JetBoyThread.DoDraw (Android.Graphics.Canvas) <0x0005b>
I/MonoDroid( 2271): at JetBoy.JetBoyThread.Run () <0x0023b>
I/MonoDroid( 2271): at Java.Lang.Thread.n_Run (intptr,intptr) <0x00023>
I/MonoDroid( 2271): at (wrapper dynamic-method) object.10bad9b8-7f3f-42f6-a74b-21c86716c0c2 (intptr,intptr) <0x00013>
I/MonoDroid( 2271):
I/MonoDroid( 2271): --- End of managed exception stack trace ---
I/MonoDroid( 2271): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
I/MonoDroid( 2271): at android.graphics.Bitmap.nativeCreate(Native Method)
I/MonoDroid( 2271): at android.graphics.Bitmap.createBitmap(Bitmap.java:477)
I/MonoDroid( 2271): at android.graphics.Bitmap.createBitmap(Bitmap.java:444)
I/MonoDroid( 2271): at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:349)
I/MonoDroid( 2271): at android.graphics.BitmapFactory.finishDecode(BitmapFactory.java:498)
I/MonoDroid( 2271): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:473)
I/MonoDroid( 2271): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:336)
I/MonoDroid( 2271): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:359)
I/MonoDroid( 2271): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:385)
I/MonoDroid( 2271): at jetboy.JetBoyThread.n_run(Native Method)
I/MonoDroid( 2271): at jetboy.JetBoyThread.run(JetBoyThread.java:89)
E/mono ( 2271):
E/mono ( 2271): Unhandled Exception: Java.Lang.OutOfMemoryError: Exception of type 'Java.Lang.OutOfMemoryError' was thrown.
E/mono ( 2271): at Android.Runtime.JNIEnv.CallStaticObjectMethod (intptr,intptr,Android.Runtime.JValue[]) <0x0006f>
E/mono ( 2271): at Android.Graphics.BitmapFactory.DecodeResource (Android.Content.Res.Resources,int) <0x00123>
E/mono ( 2271): at JetBoy.JetBoyThread.DoDraw (Android.Graphics.Canvas) <0x0005b>
E/mono ( 2271): at JetBoy.JetBoyThread.Run () <0x0023b>
E/mono ( 2271): at Java.Lang.Thread.n_Run (intptr,intptr) <0x00023>
E/mono ( 2271): at (wrapper dynamic-method) object.10bad9b8-7f3f-42f6-a74b-21c86716c0c2 (intptr,intptr) <0x00013>
E/mono ( 2271):
E/mono ( 2271): --- End of managed exception stack trace ---
E/mono ( 2271): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/mono ( 2271): at android.graphics.Bitmap.nativeCreate(Native Method)
E/mono ( 2271): at android.graphics.Bitmap.createBitmap(Bitmap.java:477)
E/mono ( 2271): at android.graphics.Bitmap.createBitmap(Bitmap.java:444)
E/mono ( 2271): at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:349)
E/mono ( 2271): at android.graphics.BitmapFactory.finishDecode(BitmapFactory.java:498)
E/mono ( 2271): at android.graphics.BitmapFactory.decodeStream(B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment