java.lang.OutOfMemoryError: Failed to allocate a 2007612 byte allocation with 1750816 free bytes and 1709KB until OOM

GitHub | EnduroXPro | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    out of memory error

    GitHub | 1 year ago | EnduroXPro
    java.lang.OutOfMemoryError: Failed to allocate a 2007612 byte allocation with 1750816 free bytes and 1709KB until OOM
  2. 0

    GitHub comment 22#160265353

    GitHub | 1 year ago | MummyDing
    java.lang.OutOfMemoryError: Failed to allocate a 3032652 byte allocation with 2718848 free bytes and 2MB until OOM
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    OutOfMemoryError while creating Bitmap in background thread.

    GitHub | 2 years ago | interesting-apps
    java.lang.RuntimeException: An error occured while executing doInBackground()

    2 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 2007612 byte allocation with 1750816 free bytes and 1709KB until OOM

      at dalvik.system.VMRuntime.newNonMovableArray()
    2. Android Platform
      Bitmap.createScaledBitmap
      1. dalvik.system.VMRuntime.newNonMovableArray(Native Method)
      2. android.graphics.Bitmap.nativeCreate(Native Method)
      3. android.graphics.Bitmap.createBitmap(Bitmap.java:831)
      4. android.graphics.Bitmap.createBitmap(Bitmap.java:808)
      5. android.graphics.Bitmap.createBitmap(Bitmap.java:739)
      6. android.graphics.Bitmap.createScaledBitmap(Bitmap.java:615)
      6 frames
    3. com.hanks.htextview
      HTextView.animateText
      1. com.hanks.htextview.animatetext.AnvilText.animateStart(AnvilText.java:67)
      2. com.hanks.htextview.animatetext.HText.animateText(HText.java:74)
      3. com.hanks.htextview.HTextView.animateText(HTextView.java:97)
      3 frames
    4. com.ads.adstimer
      FragmentScanCode.onCreateView
      1. com.ads.adstimer.fragment.Registration.Slides.FragmentScanCode.onCreateView(FragmentScanCode.java:37)
      1 frame
    5. Android Support v4
      ViewPager$3.run
      1. android.support.v4.app.Fragment.performCreateView(Fragment.java:1962)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
      3. android.support.v4.app.FragmentManagerImpl.attachFragment(FragmentManager.java:1426)
      4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:728)
      5. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1613)
      6. android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:570)
      7. android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:141)
      8. android.support.v4.view.ViewPager.populate(ViewPager.java:1106)
      9. android.support.v4.view.ViewPager.populate(ViewPager.java:952)
      10. android.support.v4.view.ViewPager$3.run(ViewPager.java:251)
      10 frames
    6. Android Platform
      ActivityThread.main
      1. android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
      2. android.view.Choreographer.doCallbacks(Choreographer.java:670)
      3. android.view.Choreographer.doFrame(Choreographer.java:603)
      4. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
      5. android.os.Handler.handleCallback(Handler.java:739)
      6. android.os.Handler.dispatchMessage(Handler.java:95)
      7. android.os.Looper.loop(Looper.java:148)
      8. android.app.ActivityThread.main(ActivityThread.java:5417)
      8 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      2 frames