java.lang.OutOfMemoryError: Failed to allocate a 2560012 byte allocation with 1668568 free bytes and 1629KB until OOM

Stack Overflow | T-BONE | 5 months ago
  1. 0

    java.lang.OutOfMemoryError, app doesn't run on emulator

    Stack Overflow | 5 months ago | T-BONE
    java.lang.OutOfMemoryError: Failed to allocate a 2560012 byte allocation with 1668568 free bytes and 1629KB until OOM
  2. 0

    Android - Splash screen VideoView and animated ImageView

    Stack Overflow | 3 years ago | Sandor Kovacs
    java.lang.OutOfMemoryError: bitmap size exceeds VM budget
  3. 0

    Bitmap Factory animation using threads or async task

    Stack Overflow | 2 years ago | user3214173
    java.lang.OutOfMemoryError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 2560012 byte allocation with 1668568 free bytes and 1629KB until OOM

      at dalvik.system.VMRuntime.newNonMovableArray()
    2. Android Platform
      Resources.loadDrawable
      1. dalvik.system.VMRuntime.newNonMovableArray(Native Method)
      2. android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
      3. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:609)
      4. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:444)
      5. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:1080)
      6. android.content.res.Resources.loadDrawableForCookie(Resources.java:2635)
      7. android.content.res.Resources.loadDrawable(Resources.java:2540)
      7 frames