Code Monkey home page Code Monkey logo

Comments (6)

morganchen12 avatar morganchen12 commented on May 18, 2024

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.

aaprokofyev avatar aaprokofyev commented on May 18, 2024

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.

ulukaya avatar ulukaya commented on May 18, 2024

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.

aaprokofyev avatar aaprokofyev commented on May 18, 2024

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.

Screenshot 2019-08-02 at 09 44 50

from mlkit.

aaprokofyev avatar aaprokofyev commented on May 18, 2024

Probably I've selected the wrong thread. So let me know if I need to create another issue.

from mlkit.

calren avatar calren commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.