Giter Club home page Giter Club logo

Comments (3)

getodk-bot avatar getodk-bot commented on June 8, 2024

Comment by mitchellsundt
Wednesday Jul 08, 2015 at 22:55 GMT


adding stack trace to bug because dpaste isn't permanent. what device are you using?


E/AndroidRuntime(  615): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime(  615): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/AndroidRuntime(  615):    at android.graphics.BitmapFactory.nativeDecodeStream(Native
Method)
E/AndroidRuntime(  615):    at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:459)
E/AndroidRuntime(  615):    at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:271)
E/AndroidRuntime(  615):    at org.odk.collect.android.widgets.ImageWidget.buildView(ImageWidget.java:197)
E/AndroidRuntime(  615):    at org.odk.collect.android.widgets.WidgetFactory.createWidgetFromPrompt(WidgetFactory.java:86)
E/AndroidRuntime(  615):    at org.odk.collect.android.views.QuestionView.buildView(QuestionView.java:85)
E/AndroidRuntime(  615):    at org.odk.collect.android.activities.FormEntryActivity.createView(FormEntryActivity.java:494)
E/AndroidRuntime(  615):    at org.odk.collect.android.activities.FormEntryActivity.refreshCurrentView(FormEntryActivity.java:290)
E/AndroidRuntime(  615):    at org.odk.collect.android.activities.FormEntryActivity.onResume(FormEntryActivity.java:1049)
E/AndroidRuntime(  615):    at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149)
E/AndroidRuntime(  615):    at android.app.Activity.performResume(Activity.java:3763)
E/AndroidRuntime(  615):    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2937)
E/AndroidRuntime(  615):    at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2965)
E/AndroidRuntime(  615):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1889)
E/AndroidRuntime(  615):    at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(  615):    at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(  615):    at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime(  615):    at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(  615):    at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(  615):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime(  615):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime(  615):    at dalvik.system.NativeStart.main(Native Method)


Reported by yanokwa on 2010-08-01 04:54:53

  • Labels added: Collect

from collect.

getodk-bot avatar getodk-bot commented on June 8, 2024

Comment by mitchellsundt
Wednesday Jul 08, 2015 at 22:55 GMT


Thanks for adding the stack trace.  I was using an HTC Magic (32B).  

Reported by andrewazman on 2010-08-01 09:45:52

from collect.

getodk-bot avatar getodk-bot commented on June 8, 2024

Comment by mitchellsundt
Thursday Jul 09, 2015 at 17:19 GMT


I think this has to do with this bug in cyanogenmod:
http://code.google.com/p/cyanogenmod/issues/detail?id=1319

since after you use the camera this shows up in the log about every .5 seconds and
audio stops working:
W/AudioTrack(  103): obtainBuffer timed out (is the CPU pegged?) 0xba220 user=000012c0,
server=00000000

It's fairly random when the out_of_memory error occurs.  Sometimes it's the 2nd picture,
sometimes the 5th.  When it works, the allocation is the right amount ~500k, when it
fails, it's 10x as big.

E/dalvikvm-heap(  745): Try and trim Heap Source
E/dalvikvm-heap(  745): Heap Massage was unsuccessful for 6291456-bytes!
E/dalvikvm-heap(  745): Heap Massage has failed...
E/        (  745): VM won't let us allocate 6291456 bytes
D/skia    (  745): --- decoder->decode returned false

I haven't been able to reproduce this on other phones, or a magic with a standard android
build.  Try following up on the cyanogenmod forums and see if they've got a fix in
the works.

Reported by carlhartung on 2010-08-02 21:09:49

  • Status changed: WontFix

from collect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.