java.lang.OutOfMemoryError: Failed to allocate a 300560012 byte allocation with 7219628 free bytes and 181MB until OOM

  1. 0

    Android Bitmap Image Compression causing OutofMemory exception

    Stack Overflow | 4 months ago | hariharan ayyasamy
    java.lang.OutOfMemoryError: Failed to allocate a 300560012 byte allocation with 7219628 free bytes and 181MB until OOM
  2. 0

    Adding prev/next-buttons to "detail fragment" (of master/detail activity)

    Stack Overflow | 1 year ago | joakimk
    java.lang.OutOfMemoryError: Failed to allocate a 33177612 byte allocation with 12795712 free bytes and 12MB until OOM
  3. 0

    [Android] Out of memory error with big images

    GitHub | 9 months ago | Svajoklis-
    java.lang.OutOfMemoryError: Failed to allocate a 203079692 byte allocation with 4194304 free bytes and 53MB until OOM
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android: Out of memory when scrolling a lot in gallery

    GitHub | 7 months ago | timsuchanek
    java.lang.OutOfMemoryError: Failed to allocate a 103711436 byte allocation with 16776848 free bytes and 85MB until OOM
  6. 0

    My custom gallery is not working android

    Stack Overflow | 7 months ago | André Marques
    java.lang.OutOfMemoryError: Failed to allocate a 79629324 byte allocation with 16777216 free bytes and 37MB until OOM

  1. dmitry 33 times, last 7 months ago
4 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 300560012 byte allocation with 7219628 free bytes and 181MB until OOM

    at dalvik.system.VMRuntime.newNonMovableArray()
  2. Android Platform
    BitmapFactory.decodeFile
    1. dalvik.system.VMRuntime.newNonMovableArray(Native Method)
    2. android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
    3. android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:635)
    4. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:611)
    5. android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:391)
    6. android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:417)
    6 frames
  3. FitNesse
    ExpenseUtil.compressImage
    1. util.ExpenseUtil.compressImage(ExpenseUtil.java:380)
    1 frame
  4. activities
    UploadReceipt.onCreate
    1. activities.UploadReceipt.handleSendImage(UploadReceipt.java:250)
    2. activities.UploadReceipt.receiveSharedFile(UploadReceipt.java:128)
    3. activities.UploadReceipt.onCreate(UploadReceipt.java:103)
    3 frames
  5. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5990)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
    5. android.app.ActivityThread.access$800(ActivityThread.java:151)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:135)
    9. android.app.ActivityThread.main(ActivityThread.java:5254)
    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:903)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
    2 frames