Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
umer-ppup opened this issue May 31, 2024 · 0 comments
Open

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

umer-ppup opened this issue May 31, 2024 · 0 comments

Comments

@umer-ppup
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant