java.lang.OutOfMemoryError: Failed to allocate a 18662412 byte allocation with 1643192 free bytes and 1604KB until OOM

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via xamarin.com by Unknown author, 1 year ago
Failed to allocate a 18662412 byte allocation with 1643192 free bytes and 1604KB until OOM
via GitHub by astrazzari72
, 2 years ago
Failed to allocate a 1048588 byte allocation with 342216 free bytes and 334KB until OOM
via Stack Overflow by Samantha
, 4 months ago
Failed to allocate a 20813772 byte allocation with 4194304 free bytes and 10MB until OOM
via Stack Overflow by Jesse Liberty
, 11 months ago
Failed to allocate a 7200012 byte allocation with 4806584 free bytes and 4MB until OOM
via powerampapp.com by Unknown author, 2 years ago
Failed to allocate a 1166412 byte allocation with 262256 free bytes and 256KB until OOM
via Stack Overflow by Rustam Ibragimov
, 2 months ago
Failed to allocate a 9437196 byte allocation with 5765944 free bytes and 5MB until OOM
java.lang.OutOfMemoryError: Failed to allocate a 18662412 byte allocation with 1643192 free bytes and 1604KB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:741)
at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:562)
at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:590)

Users with the same issue

3 times, 3 months ago
8 times, 10 months ago
24 times, 1 year ago
2 times, 1 year ago
15 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.