Skip to content

fix: make MLKit scanner initialization lazy to prevent memory consumption overload#50

Merged
ItsChaceD merged 1 commit into
mainfrom
fix/RMET-3481-mlkit-memory
Aug 20, 2025
Merged

fix: make MLKit scanner initialization lazy to prevent memory consumption overload#50
ItsChaceD merged 1 commit into
mainfrom
fix/RMET-3481-mlkit-memory

Conversation

@ItsChaceD

Copy link
Copy Markdown
Contributor

Description

This PR fixes an issue where the MLKit scanner can get backlogged when processing the camera frames and run out of memory

Context

#30

Type of changes

  • Fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Refactor (cosmetic changes)
  • Breaking change (change that would cause existing functionality to not work as expected)

Platforms affected

  • Android
  • iOS
  • JavaScript

Tests

Tested on Android 12 Xiaomi device and Android 16 Pixel 8 Pro

@ItsChaceD ItsChaceD requested a review from a team as a code owner August 18, 2025 15:04
@cssecautomation

cssecautomation commented Aug 18, 2025

Copy link
Copy Markdown

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

code/snyk check is complete. No issues have been found. (View Details)

@ItsChaceD ItsChaceD changed the base branch from development to main August 18, 2025 15:30
@ItsChaceD ItsChaceD merged commit 77310a5 into main Aug 20, 2025
5 of 6 checks passed
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

Successfully merging this pull request may close these issues.

4 participants