Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Apllication crash - Java.Lang.OutOfMemoryError

$
0
0

I've just released my app to play store and some users are getting this error:

Java.Lang.OutOfMemoryError: Exception of type 'Java.Lang.OutOfMemoryError' was thrown.
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3fd174ff54b146228c505f23cf75ce71>:0
at Java.Interop.JniEnvironment+StaticMethods.CallStaticObjectMethod (Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00069] in :0
at Java.Interop.JniPeerMembers+JniStaticMethods.InvokeObjectMethod (System.String encodedMember, Java.Interop.JniArgumentValue* parameters) [0x00018] in :0
at Android.Graphics.Bitmap.CreateBitmap (System.Int32 width, System.Int32 height, Android.Graphics.Bitmap+Config config) [0x0005a] in :0
at Xamarin.Forms.Platform.Android.ButtonDrawable.CreateBitmap (System.Boolean pressed, System.Int32 width, System.Int32 height) [0x00007] in <1481f85a917c4f2b882ea161e9bc082f>:0
at Xamarin.Forms.Platform.Android.ButtonDrawable.Draw (Android.Graphics.Canvas canvas) [0x0005a] in <1481f85a917c4f2b882ea161e9bc082f>:0
at Android.Graphics.Drawables.Drawable.n_Draw_Landroid_graphics_Canvas_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_canvas) [0x0000f] in :0
at (wrapper dynamic-method) System.Object:72148e78-6b02-4853-916d-c91f89f64391 (intptr,intptr,intptr)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3fd174ff54b146228c505f23cf75ce71>:0
at Java.Interop.JniEnvironment+InstanceMethods.CallNonvirtualVoidMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00089] in :0
at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x0005d] in :0
at Android.Views.View.Draw (Android.Graphics.Canvas canvas) [0x00031] in :0
at Xamarin.Forms.Platform.Android.ScrollViewRenderer.Draw (Android.Graphics.Canvas canvas) [0x0000d] in <1481f85a917c4f2b882ea161e9bc082f>:0
at Android.Views.View.n_Draw_Landroid_graphics_Canvas_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_canvas) [0x0000f] in :0
at (wrapper dynamic-method) System.Object:33ae0f56-f7c4-4de7-a1d8-f44e3fe711a3 (intptr,intptr,intptr)
at java.lang.OutOfMemoryError
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:929)
at android.graphics.Bitmap.createBitmap(Bitmap.java:902)
at android.graphics.Bitmap.createBitmap(Bitmap.java:869)
at md5b60ffeb829f638581ab2bb9b1a7f4f3f.ButtonDrawable.n_draw(Native Method)
at md5b60ffeb829f638581ab2bb9b1a7f4f3f.ButtonDrawable.draw(ButtonDrawable.java:50)
at android.view.View.draw(View.java:15337)
at android.view.View.getDisplayList(View.java:14246)
at android.view.View.getDisplayList(View.java:14288)
at android.view.View.draw(View.java:15066)

I have no idea what causes this and I've never reproduced this error on my device. Any help would be appreciated.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>