Skip to content

App Crash Due to High RAM Consumption When Using ML Kit #30

@umer-atrule

Description

@umer-atrule

This library is used by a Cordova plugin for barcode scanning. When I implemented this plugin into my Cordova app and used it for scanning with ML Kit, it caused very high RAM consumption when the scanning screen opened. We can easily see this by opening the Profiler tool in Android Studio to check the app's performance. When we start scanning, the RAM usage increases exponentially, eventually causing the app to crash. I also checked this behavior by implementing this library in an Android project, and the same issue exists there as well. This behavior does not occur when we use ZXing for scanning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions