java.lang.OutOfMemoryError: Failed to allocate a 26211852 byte allocation with 14018312 free bytes and 13MB 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 Stack Overflow by JayVDiyk
, 1 year ago
Failed to allocate a 26211852 byte allocation with 14018312 free bytes and 13MB until OOM
via GitHub by IlanVokov
, 3 months ago
Failed to allocate a 14745612 byte allocation with 13108268 free bytes and 12MB until OOM
via GitHub by freiserg
, 4 months ago
Failed to allocate a 2430012 byte allocation with 1305354 free bytes and 1274KB until OOM
via Stack Overflow by Jake Chasan
, 9 months ago
Failed to allocate a 2560012 byte allocation with 1053776 free bytes and 1029KB until OOM
via GitHub by jaredsburrows
, 2 years ago
Failed to allocate a 4842156 byte allocation with 2271684 free bytes and 2MB until OOM
via GitHub by Dokuzov
, 2 years ago
Failed to allocate a 4227276 byte allocation with 2371664 free bytes and 2MB until OOM
java.lang.OutOfMemoryError: Failed to allocate a 26211852 byte allocation with 14018312 free bytes and 13MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:939)
at android.graphics.Bitmap.createBitmap(Bitmap.java:912)
at android.graphics.Bitmap.createBitmap(Bitmap.java:843)
at id.testingapp.android.TestingApp.WelcomeActivity.prepareBackgroundAnimation(WelcomeActivity.java:140)
at id.TestingApp.android.TestingApp.WelcomeActivity.onCreate(WelcomeActivity.java:72)
at android.app.Activity.performCreate(Activity.java:6283)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758)
at android.app.ActivityThread.access$900(ActivityThread.java:177)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5942)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)

Users with the same issue

3 times, 4 months ago
8 times, 11 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.