Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Java.Lang.OutOfMemoryError

$
0
0

I was looking over a crash report for the application I'm working on when I ran across this crash.
It was on a Note 5 device.

I don't have any images on my buttons.
I do have my buttons span my grids and bind them to commands in my View models with a transparent style.
I just can't see how / were I would get this.
The only other thing is the button is a custom render so I can use Vibrator method when the cell is clicked.

Thanks for any help..

ExceptionDispatchInfo.Throw ()
Java.Lang.OutOfMemoryError: Failed to allocate a 2279460 byte allocation with 931808 free bytes and 909KB until OOM

ExceptionDispatchInfo.Throw ()
JniEnvironment+StaticMethods.CallStaticObjectMethod (Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args)
JniPeerMembers+JniStaticMethods.InvokeObjectMethod (System.String encodedMember, Java.Interop.JniArgumentValue* parameters)
Bitmap.CreateBitmap (System.Int32 width, System.Int32 height, Android.Graphics.Bitmap+Config config)
ButtonDrawable.CreateBitmap (System.Boolean pressed, System.Int32 width, System.Int32 height)
ButtonDrawable.Draw (Android.Graphics.Canvas canvas)


Viewing all articles
Browse latest Browse all 77050

Trending Articles