java.lang.OutOfMemoryError: Failed to allocate a 37748748 byte allocation with 16777216 free bytes and 35MB until OOM

GitHub | Pika3323 | 4 months ago
  1. 0

    OutOfMemoryError and Lag

    GitHub | 4 months ago | Pika3323
    java.lang.OutOfMemoryError: Failed to allocate a 37748748 byte allocation with 16777216 free bytes and 35MB until OOM
  2. 0

    java.lang.OutOfMemoryError with ViewPager that contains ImageViews

    Stack Overflow | 5 months ago | Itiel Maimon
    java.lang.OutOfMemoryError: Failed to allocate a 8876812 byte allocation with 7873968 free bytes and 7MB until OOM
  3. 0

    OutOfMemoryError while loading images in RecyclerView

    Stack Overflow | 1 month ago | hetal shah
    java.lang.OutOfMemoryError: Failed to allocate a 548695740 byte allocation with 1430730 free bytes and 253MB until OOM
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android Gmaps API error

    Stack Overflow | 1 month ago | Christine Jade Saturno Padullo
    java.lang.OutOfMemoryError: Failed to allocate a 52416012 byte allocation with 4194208 free bytes and 12MB until OOM
  6. 0

    How to to prevent out of memory exception in Runnable

    Stack Overflow | 1 week ago | Si8
    java.lang.OutOfMemoryError: Failed to allocate a 12960012 byte allocation with 1400312 free bytes and 1367KB until OOM

  1. Agócs Tamás 2 times, last 4 months ago
  2. Aria Pahlavan 73 times, last 4 weeks ago
  3. Pawan 4 times, last 5 months ago
  4. Ranjana Dangol 8 times, last 5 months ago
  5. asvid 34 times, last 6 months ago
2 more registered users
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    Failed to allocate a 37748748 byte allocation with 16777216 free bytes and 35MB until OOM

    at dalvik.system.VMRuntime.newNonMovableArray()
  2. Android Platform
    Resources.getDrawable
    1. dalvik.system.VMRuntime.newNonMovableArray(Native Method)
    2. android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
    3. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:856)
    4. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:675)
    5. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:2228)
    6. android.content.res.Resources.loadDrawableForCookie(Resources.java:4211)
    7. android.content.res.Resources.loadDrawable(Resources.java:4085)
    8. android.content.res.Resources.getDrawable(Resources.java:2005)
    9. android.content.res.Resources.getDrawable(Resources.java:1987)
    9 frames
  3. Android v7
    ResourcesWrapper.getDrawable
    1. android.support.v7.widget.ResourcesWrapper.getDrawable(Unknown Source)
    1 frame
  4. Android Platform
    Context.getDrawable
    1. android.content.Context.getDrawable(Context.java:464)
    1 frame
  5. Android Support v4
    ContextCompat.getDrawable
    1. android.support.v4.content.ContextCompatApi21.getDrawable(Unknown Source)
    2. android.support.v4.content.ContextCompat.getDrawable(Unknown Source)
    2 frames
  6. Android v7
    AppCompatImageView.setImageResource
    1. android.support.v7.widget.AppCompatDrawableManager.getDrawable(Unknown Source)
    2. android.support.v7.widget.AppCompatDrawableManager.getDrawable(Unknown Source)
    3. android.support.v7.widget.AppCompatImageHelper.setImageResource(Unknown Source)
    4. android.support.v7.widget.AppCompatImageView.setImageResource(Unknown Source)
    4 frames
  7. com.heinrichreimersoftware.materialintro
    f.onCreateView
    1. com.heinrichreimersoftware.materialintro.b.f.onCreateView(Unknown Source)
    1 frame
  8. Android Support v4
    FragmentStatePagerAdapter.finishUpdate
    1. android.support.v4.app.Fragment.performCreateView(Unknown Source)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(Unknown Source)
    3. android.support.v4.app.FragmentManagerImpl.moveToState(Unknown Source)
    4. android.support.v4.app.BackStackRecord.run(Unknown Source)
    5. android.support.v4.app.FragmentManagerImpl.execSingleAction(Unknown Source)
    6. android.support.v4.app.BackStackRecord.commitNowAllowingStateLoss(Unknown Source)
    7. android.support.v4.app.FragmentStatePagerAdapter.finishUpdate(Unknown Source)
    7 frames
  9. com.heinrichreimersoftware.materialintro
    e.finishUpdate
    1. com.heinrichreimersoftware.materialintro.view.e.finishUpdate(Unknown Source)
    1 frame
  10. Android Support v4
    ViewPager$3.run
    1. android.support.v4.view.ViewPager.populate(Unknown Source)
    2. android.support.v4.view.ViewPager.populate(Unknown Source)
    3. android.support.v4.view.ViewPager$3.run(Unknown Source)
    3 frames
  11. Android Platform
    ActivityThread.main
    1. android.view.Choreographer$CallbackRecord.run(Choreographer.java:920)
    2. android.view.Choreographer.doCallbacks(Choreographer.java:695)
    3. android.view.Choreographer.doFrame(Choreographer.java:628)
    4. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)
    5. android.os.Handler.handleCallback(Handler.java:739)
    6. android.os.Handler.dispatchMessage(Handler.java:95)
    7. android.os.Looper.loop(Looper.java:158)
    8. android.app.ActivityThread.main(ActivityThread.java:7224)
    8 frames
  12. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  13. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames