https://bugzilla.wikimedia.org/show_bug.cgi?id=40026

       Web browser: ---
             Bug #: 40026
           Summary: java oom error
           Product: WikiLoves Monuments Mobile
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Upload
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Two out of memory errors have been reported in the app store.

>From the reporting user:
"App closes when I select a photo from the gallery, when attempting to do a
second photo of a monument after successfully uploading one. Happened both
times I tried."

Stack trace:
Exception class: java.lang.OutOfMemoryError in org.wikipedia.wlm
Source method: BitmapFactory.nativeDecodeFile()

java.lang.OutOfMemoryError: (Heap Size=36835KB, Allocated=5343KB)
at android.graphics.BitmapFactory.nativeDecodeFile(Native Method)
at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:373)
at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:443)
at org.apache.cordova.CameraLauncher.getScaledBitmap(CameraLauncher.java:546)
at org.apache.cordova.CameraLauncher.onActivityResult(CameraLauncher.java:394)
at org.apache.cordova.DroidGap.onActivityResult(DroidGap.java:823)
at android.app.Activity.dispatchActivityResult(Activity.java:4752)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3421)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3475)
at android.app.ActivityThread.access$1100(ActivityThread.java:139)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1307)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:156)
at android.app.ActivityThread.main(ActivityThread.java:5045)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)

Second error:
>From the user: "it's only September second and it's not working.I'll keep
trying"

Exception class: java.lang.OutOfMemoryError
Source method: BitmapFactory.nativeDecodeStream()

java.lang.OutOfMemoryError
at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:530)
at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:299)
at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:324)
at org.apache.cordova.CameraLauncher.getScaledBitmap(CameraLauncher.java:546)
at org.apache.cordova.CameraLauncher.onActivityResult(CameraLauncher.java:394)
at org.apache.cordova.DroidGap.onActivityResult(DroidGap.java:823)
at android.app.Activity.dispatchActivityResult(Activity.java:4723)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3175)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3222)
at android.app.ActivityThread.access$1100(ActivityThread.java:134)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1263)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4697)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)
at dalvik.system.NativeStart.main(Native Method)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to