java.lang.OutOfMemoryError: Failed to allocate a 37748748 byte allocation with 16777216 free bytes and 35MB 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 GitHub by Pika3323
, 1 year ago
Failed to allocate a 37748748 byte allocation with 16777216 free bytes and 35MB until OOM
via GitHub by Pika3323
, 9 months ago
Failed to allocate a 37748748 byte allocation with 16777216 free bytes and 35MB until OOM
via Stack Overflow by Kajetan Schuler
, 11 months ago
Failed to allocate a 192000012 byte allocation with 16775360 free bytes and 69MB until OOM
via Stack Overflow by Itiel Maimon
, 1 year ago
Failed to allocate a 8876812 byte allocation with 7873968 free bytes and 7MB until OOM
via oneapm.com by Unknown author, 10 months ago
Failed to allocate a 4308492 byte allocation with 467872 free bytes and 456KB until OOM
via GitHub by mr-procrastinator
, 1 year ago
Failed to allocate a 1166412 byte allocation with 16777120 free bytes and 468MB until OOM
java.lang.OutOfMemoryError: Failed to allocate a 37748748 byte allocation with 16777216 free bytes and 35MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:856)
at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:675)
at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:2228)
at android.content.res.Resources.loadDrawableForCookie(Resources.java:4211)
at android.content.res.Resources.loadDrawable(Resources.java:4085)
at android.content.res.Resources.getDrawable(Resources.java:2005)
at android.support.v4.content.ContextCompatApi21.getDrawable(Unknown Source)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(Unknown Source)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(Unknown Source)
at android.support.v7.widget.AppCompatImageHelper.setImageResource(Unknown Source)
at com.heinrichreimersoftware.materialintro.b.f.onCreateView(Unknown Source)
at android.support.v4.app.Fragment.performCreateView(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.moveToState(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.moveToState(Unknown Source)
at android.support.v4.app.BackStackRecord.run(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.execSingleAction(Unknown Source)
at android.support.v4.app.BackStackRecord.commitNowAllowingStateLoss(Unknown Source)
at com.heinrichreimersoftware.materialintro.view.e.finishUpdate(Unknown Source)
at android.support.v4.view.ViewPager.populate(Unknown Source)
at android.support.v4.view.ViewPager.populate(Unknown Source)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:920)
at android.view.Choreographer.doCallbacks(Choreographer.java:695)
at android.view.Choreographer.doFrame(Choreographer.java:628)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7224)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

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.