Comments (6)
I'm unable to reproduce this issue on Firebase 6.4.0. Can you try updating and seeing if the crash is fixed?
from mlkit.
Tested today on the latest Firebase available (6.5.0). I see with profiler that there is some memory leak, which consumes memory up to 9.88 Gb and then crashes. Tested on iphone 6 iOS10.3.2. Takes about 13 minutes to reproduce. Starting from minute 8 the screen is like slideshow already.
from mlkit.
Does your profiler show the leak is coming from the Firebase object? Trying to understand how to consume 10Gb from a single image on device text detection. If you were doing live camera, I could've seen images building up.
from mlkit.
I can't say exactly where the leak is. I'm not in touch with iOS development, so i've just run this sample. See the screenshot attached from the profiler. It is default xCode Instruments.
It is not a single image, I selected 'live' recognition. So processed frames from camera preview 'on fly' during 13 minutes until memory reached critical value.
from mlkit.
Probably I've selected the wrong thread. So let me know if I need to create another issue.
from mlkit.
Hey @enriquemgz, we've made a number of improvements to our samples with the newest ml kit release, and we believe this should be fixed now. If you're still seeing the issue, please do let us know!
from mlkit.
Related Issues (20)
- Model runtime takes longer than expected HOT 4
- Cant update firebase latest version HOT 7
- [Bug report] Failed to initialize detector when use object-detection:17.0.0 HOT 2
- [Bug report] Demo app barcode AutoZoom not working for CameraXLivePreview in Kotlin
- Subject segmentation with ML Kit for Android HOT 4
- [Bug report] cannot scan with phone facing an angle of 30-45 degrees (iOS) HOT 3
- [Bug report] Relatively poor performance for Code 128-B
- [Bug report] MLKIT Face Detection Model failed to download on Android 14 HOT 9
- [Bug report] crash with image-labeling,device android 9,x86_4 HOT 3
- [Feature request] Recommended hardware and USB Camera HOT 1
- [Feature request] The state of MLKit DigitalInkRecognition
- [Bug report] InputImage.getBitmapInternal() returns null HOT 1
- [Feature request] MLKit and Apple’s new Privacy Manifests HOT 2
- Issues in frame processing using MLKit
- [Feature request] Disable logging for DigitalInkRecognition on iOS HOT 4
- MLKit running on GPU? HOT 7
- Request for Swift Package Manager support HOT 1
- Upcoming third-party SDK requirements in iOS:Support App Privacy Manifest HOT 1
- [Feature request] Request for adding face mesh textures
- [Bug report] Progress only updates when the download is complete
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mlkit.