Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Java.Lang.OutOfMemoryError: bitmap size exceeds VM budget
at Android.Runtime.JNIEnv.CallStaticObjectMethod (intptr,intptr,Android.Runtime.JValue[]) [0x00024] in /Users/builder/data/lanes/monodroid-mlion-master/0d44ff90/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:767
at Android.Graphics.BitmapFactory.DecodeFile (string) [0x00034] in /Users/builder/data/lanes/monodroid-mlion-master/0d44ff90/source/monodroid/src/Mono.Android/platforms/android-17/src/generated/Android.Graphics.BitmapFactory.cs:484
at at Xamarin.Social.ImageData..ctor (string) <IL 0x00002, 0x0004f>
at Droid.PhotoScreen.Share (Xamarin.Social.Service) [0x000a3] in d:\2nd August\mobile-samples-master-9c3295f28f07efd00f190682181f41e25815305c\mobile-samples-master\SoMA\Android\PhotoScreen.cs:266
at Droid.PhotoScreen.ShareFlickr_Click (object,System.EventArgs) [0x00021] in d:\2nd August\mobile-samples-master-9c3295f28f07efd00f190682181f41e25815305c\mobile-samples-master\SoMA\Android\PhotoScreen.cs:250
at Android.Views.View/IOnClickListenerImplementor.OnClick (Android.Views.View) [0x0000d] in /Users/builder/data/lanes/monodroid-mlion-master/0d44ff90/source/monodroid/src/Mono.Android/platforms/android-17/src/generated/Android.Views.View.cs:1782
at Android.Views.View/IOnClickListenerInvoker.n_OnClick_Landroid_view_View_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/monodroid-mlion-master/0d44ff90/source/monodroid/src/Mono.Android/platforms/android-17/src/generated/Android.Views.View.cs:1752
at at (wrapper dynamic-method) object.dd659b20-07b9-4bb9-98aa-73716fe17239 (intptr,intptr,intptr) <IL 0x00017, 0x00043>
at
at --- End of managed exception stack trace ---
at java.lang.OutOfMemoryError: bitmap size exceeds VM budget
at at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
at at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:573)
at at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:384)
at at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:412)
at at mono.android.view.View_OnClickListenerImplementor.n_onClick(Native Method)
at at mono.android.view.View_OnClickListenerImplementor.onClick(View_OnClickListenerImplementor.java:29)
at at android.view.View.performClick(View.java:2538)
at at android.view.View$PerformClick.run(View.java:9152)
at at android.os.Handler.handleCallback(Handler.java:587)
at at android.os.Handler.dispatchMessage(Handler.java:92)
at at android.os.Looper.loop(Looper.java:123)
at at android.app.ActivityThread.main(ActivityThread.java:3691)
at at java.lang.reflect.Method.invokeNative(Native Method)
at at java.lang.reflect.Method.invoke(Method.java:507)
at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
at at dalvik.system.NativeStart.main(Native Method)
at
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment