java.lang.OutOfMemoryError: Failed to allocate a 26211852 byte allocation with 14018312 free bytes and 13MB until OOM

Stack Overflow | JayVDiyk | 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

    Release Memory of Particular Activity when it is Destroyed

    Stack Overflow | 1 year ago | JayVDiyk
    java.lang.OutOfMemoryError: Failed to allocate a 26211852 byte allocation with 14018312 free bytes and 13MB until OOM
  2. 0

    Bug: OutOfMemoryError on Android

    GitHub | 2 years ago | tttppp
    java.lang.OutOfMemoryError: Failed to allocate a 157476 byte allocation with 138064 free bytes and 134KB until OOM
  3. 0

    OutOfMemoryError while creating Bitmap in background thread.

    GitHub | 2 years ago | interesting-apps
    java.lang.RuntimeException: An error occured while executing doInBackground()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 26211852 byte allocation with 14018312 free bytes and 13MB 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:939)
      4. android.graphics.Bitmap.createBitmap(Bitmap.java:912)
      5. android.graphics.Bitmap.createBitmap(Bitmap.java:843)
      6. android.graphics.Bitmap.createScaledBitmap(Bitmap.java:719)
      6 frames
    3. id.testingapp.android
      WelcomeActivity.prepareBackgroundAnimation
      1. id.testingapp.android.TestingApp.WelcomeActivity.prepareBackgroundAnimation(WelcomeActivity.java:140)
      1 frame
    4. id.TestingApp.android
      WelcomeActivity.onCreate
      1. id.TestingApp.android.TestingApp.WelcomeActivity.onCreate(WelcomeActivity.java:72)
      1 frame
    5. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:6283)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758)
      5. android.app.ActivityThread.access$900(ActivityThread.java:177)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:145)
      9. android.app.ActivityThread.main(ActivityThread.java:5942)
      9 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
      2 frames