You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jason Wayne Gallavin (JIRA)" <ji...@apache.org> on 2018/03/14 21:46:00 UTC

[jira] [Commented] (CB-11068) Application getting crashed on Android, iOS and Windows(Universal) when more than 20 images are captured using BASE64 DATA URL format.

    [ https://issues.apache.org/jira/browse/CB-11068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16399479#comment-16399479 ] 

Jason Wayne Gallavin commented on CB-11068:
-------------------------------------------

I am having this issue also. It only happens on older devices that have a lower memory limit. It may be due to a memory leak but the memory usage doesn't seem to increase by that much over time but it does jump quite a bit because of the serialization of the image. In some applications the javascript side needs the base64 string for quicker database access etc. I think giving the option to serialize chunks at a time would reduce the memory spike. This modification would need to modify CameraLauncher.java:1269 or the equivalent place on ios.

> Application getting crashed on Android, iOS and Windows(Universal) when more than 20 images are captured using BASE64 DATA URL format.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-11068
>                 URL: https://issues.apache.org/jira/browse/CB-11068
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-camera
>    Affects Versions: 3.5.0
>         Environment: Android, Windows and iOS mobiles
>            Reporter: COE
>            Priority: Major
>              Labels: android, ios, triaged, wfc, windows
>
> We have used Cordova for our hybrid mobile application targeting multiple platforms with usage of Camera Plugin. After a certain no of images are captured, the camera feature is getting crashed and application is becoming inaccessible. Please suggest us a possible solution.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org