java.lang.OutOfMemoryError: Failed to allocate a 23040012 byte allocation with 16777120 free bytes and 16MB until OOM

GitHub | hiteshsahu | 2 months ago
  1. 0

    OOM in viewpager with just 3 albumart

    GitHub | 2 months ago | hiteshsahu
    java.lang.OutOfMemoryError: Failed to allocate a 23040012 byte allocation with 16777120 free bytes and 16MB until OOM
  2. 0

    app stops using fragments with Countdown timer

    Stack Overflow | 2 months ago | Adnan Sheikh
    java.lang.OutOfMemoryError: Failed to allocate a 12695052 byte allocation with 7472568 free bytes and 7MB until OOM
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java.lang.OutOfMemoryError

    GitHub | 4 years ago | Nelugo
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.test/com.example.test.DetailActivityExtended}: android.view.InflateException: Binary XML file line #101: Error inflating class <unknown>
  5. 0

    [Crash Log] Tue, 18 Nov 2014 22:46:21 GMT

    GitHub | 2 years ago | blFeedbackBot
    java.lang.RuntimeException: Unable to start activity ComponentInfo{us.shandian.blacklight/us.shandian.blacklight.ui.statuses.UserTimeLineActivity}: android.view.InflateException: Binary XML file line #48: Error inflating class <unknown>

  1. mathan m 1 times, last 4 months ago
  2. Agócs Tamás 2 times, last 4 months ago
  3. Ranjana Dangol 3 times, last 5 months ago
  4. bayukresno 1 times, last 6 months ago
  5. Saravana Kumar Chinnaraj 4 times, last 7 months ago
4 more registered users
15 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 23040012 byte allocation with 16777120 free bytes and 16MB until OOM

    at dalvik.system.VMRuntime.newNonMovableArray()
  2. Android Platform
    ImageView.<init>
    1. dalvik.system.VMRuntime.newNonMovableArray(Native Method)
    2. android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
    3. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:837)
    4. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:656)
    5. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:1037)
    6. android.content.res.Resources.loadDrawableForCookie(Resources.java:4037)
    7. android.content.res.Resources.loadDrawable(Resources.java:3910)
    8. android.content.res.TypedArray.getDrawable(TypedArray.java:776)
    9. android.view.View.<init>(View.java:4001)
    10. android.widget.ImageView.<init>(ImageView.java:144)
    11. android.widget.ImageView.<init>(ImageView.java:140)
    11 frames
  3. Android v7
    AppCompatDelegateImplV9.onCreateView
    1. android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:57)
    2. android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:53)
    3. android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:106)
    4. android.support.v7.app.AppCompatDelegateImplV9.createView(AppCompatDelegateImplV9.java:1013)
    5. android.support.v7.app.AppCompatDelegateImplV9.onCreateView(AppCompatDelegateImplV9.java:1072)
    5 frames
  4. Android Support v4
    LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView
    1. android.support.v4.view.LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView(LayoutInflaterCompatHC.java:44)
    1 frame
  5. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:732)
    2. android.view.LayoutInflater.rInflate(LayoutInflater.java:813)
    3. android.view.LayoutInflater.inflate(LayoutInflater.java:511)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:415)
    4 frames
  6. com.c2h5oh.beer
    SongPagerAdapter.instantiateItem
    1. com.c2h5oh.beer.view.adapter.SongPagerAdapter.instantiateItem(SongPagerAdapter.java:46)
    1 frame
  7. Android Support v4
    ViewPager.setAdapter
    1. android.support.v4.view.ViewPager.addNewItem(ViewPager.java:1006)
    2. android.support.v4.view.ViewPager.populate(ViewPager.java:1154)
    3. android.support.v4.view.ViewPager.populate(ViewPager.java:1088)
    4. android.support.v4.view.ViewPager.setAdapter(ViewPager.java:542)
    4 frames
  8. com.c2h5oh.beer
    MediaHost.onPostExecute
    1. com.c2h5oh.beer.view.activity.AudioPlayerActivity.addViewListeners(AudioPlayerActivity.java:331)
    2. com.c2h5oh.beer.view.activity.AudioPlayerActivity.access$800(AudioPlayerActivity.java:60)
    3. com.c2h5oh.beer.view.activity.AudioPlayerActivity$14.onSuccess(AudioPlayerActivity.java:560)
    4. com.c2h5oh.beer.domain.OfflineMediaProvider.MediaHost.onPostExecute(MediaHost.java:64)
    5. com.c2h5oh.beer.domain.OfflineMediaProvider.MediaHost.onPostExecute(MediaHost.java:10)
    5 frames
  9. Android Platform
    ActivityThread.main
    1. android.os.AsyncTask.finish(AsyncTask.java:636)
    2. android.os.AsyncTask.access$500(AsyncTask.java:177)
    3. android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653)
    4. android.os.Handler.dispatchMessage(Handler.java:102)
    5. android.os.Looper.loop(Looper.java:145)
    6. android.app.ActivityThread.main(ActivityThread.java:6917)
    6 frames
  10. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  11. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
    2 frames