Coder Social home page Coder Social logo

Comments (4)

rivera-ernesto avatar rivera-ernesto commented on June 19, 2024

Could you try launching the picker more than once to see if it just keeps growing. Ideally profiling with Instruments.

During the first launch is normal that some internal SDK caching/initialization takes place, thus consuming more memory. This may get released later or on low memory conditions automatically.

As for memory leaks or circular retentions, I think I have checked many times in the past.

from ios-nbuimagepicker.

jobpassion avatar jobpassion commented on June 19, 2024

I tried launching the picker more than once, it didn't keep growing.
Because of I'm new to iOS developing, I may try profiling with Instruments
as soon as possible.
I'll try to see that if memory get released later.If I find some useful,
I'll contract you.

Thanks for your replying.
The ImagePicker is wonderful ! Thanks for your effort for that.

2015-01-22 9:21 GMT+08:00 Ernesto Rivera [email protected]:

Could you try launching the picker more than once to see if it just keeps
growing. Ideally profiling with Instruments.

During the first launch is normal that some internal SDK
caching/initialization takes place, thus consuming more memory. This may
get released later or on low memory conditions automatically.

As for memory leaks or circular retentions, I think I have checked many
times in the past.


Reply to this email directly or view it on GitHub
#12 (comment)
.

from ios-nbuimagepicker.

jobpassion avatar jobpassion commented on June 19, 2024

image

as the screenshot above, is the profiling with Instruments.
may be as you said, internal SDK caching/initialization took the place

from ios-nbuimagepicker.

rivera-ernesto avatar rivera-ernesto commented on June 19, 2024

What I usually try is to:

  • Profile in the simulator with a Release configuration.
  • Use the app normally repeating actions several times.
  • "Simulate Memory Warning" in the Simulator. This will purge most internal caches and give you an idea of how well your app behaves.

from ios-nbuimagepicker.

Related Issues (16)

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.