java.lang.OutOfMemoryError: bitmap size exceeds VM budget

GitHub | opendatakit-bot | 3 months ago
  1. 0

    GitHub comment 32#244783512

    GitHub | 3 months ago | opendatakit-bot
    java.lang.OutOfMemoryError: bitmap size exceeds VM budget
  2. 0

    Crash report 2.8 - OOM in ImageHelper

    GitHub | 3 years ago | daniloercoli
    java.lang.RuntimeException: An error occured while executing doInBackground()
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Crashes on new "image tab"

    GitHub | 4 years ago | Lineflyer
    java.lang.OutOfMemoryError: bitmap size exceeds VM budget
  5. 0

    memory problem in android after capturing images

    Stack Overflow | 5 years ago | nirav
    java.lang.OutOfMemoryError: bitmap size exceeds VM budget

  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

    bitmap size exceeds VM budget

    at android.graphics.BitmapFactory.nativeDecodeStream()
  2. Android Platform
    BitmapFactory.decodeFile
    1. android.graphics.BitmapFactory.nativeDecodeStream(NativeMethod)
    2. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:459)
    3. android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:271)
    3 frames
  3. org.odk.collect
    FormEntryActivity.onResume
    1. org.odk.collect.android.widgets.ImageWidget.buildView(ImageWidget.java:197)
    2. org.odk.collect.android.widgets.WidgetFactory.createWidgetFromPrompt(WidgetFactory.java:86)
    3. org.odk.collect.android.views.QuestionView.buildView(QuestionView.java:85)
    4. org.odk.collect.android.activities.FormEntryActivity.createView(FormEntryActivity.java:494)
    5. org.odk.collect.android.activities.FormEntryActivity.refreshCurrentView(FormEntryActivity.java:290)
    6. org.odk.collect.android.activities.FormEntryActivity.onResume(FormEntryActivity.java:1049)
    6 frames
  4. Android Platform
    ActivityThread.main
    1. android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149)
    2. android.app.Activity.performResume(Activity.java:3763)
    3. android.app.ActivityThread.performResumeActivity(ActivityThread.java:2937)
    4. android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2965)
    5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1889)
    6. android.os.Handler.dispatchMessage(Handler.java:99)
    7. android.os.Looper.loop(Looper.java:123)
    8. android.app.ActivityThread.main(ActivityThread.java:4363)
    8 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:521)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame