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)
- [Feature request] Text Recognition Cyrillic Support
- [feature request] Docs scanner ml kit version compellability HOT 1
- [Bug report] Zeros are dropped in barcodes HOT 1
- Mlkit
- Please delete this
- [Feature request] Add Labels Feature for Document Type Guidance on ML Kit Document Scanner Interface
- Selfie Segmentation confidence threshold
- mlkit:text-recognition-chinese Not working properly HOT 3
- [Bug report] DigitalInk: No implementation found DigitalInkRecognizerJni.initNativeRecognizer HOT 1
- [Feature Request] Support for Simulators on M1 Apple Silicon / arm64 architecture HOT 2
- [Feature request] Title for the request
- Add thai language.
- [Bug report] "MeHeeman" HOT 1
- Pose Detection: InFrameConfidence values
- [Feature request] Add output QR Code corners according to static ordering via an option
- [Feature request] Modularization Enhancement for Document Scanner API Library
- [Bug report] Inconsistent scanning of dense QR codes?
- [Bug report] Title for the bug HOT 1
- How to get compressed pdf in output
- [Feature request] Swift Package Manager support HOT 1
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.