Giter Club home page Giter Club logo

Comments (5)

manuel-sejourne avatar manuel-sejourne commented on May 22, 2024

I use this version :

 implementation('com.optimizely.ab:android-sdk:1.4.0', {
        exclude group: 'com.android.support.test.espresso'
    })

Does the new version solve this issue ?

from android-sdk.

thomaszurkan-optimizely avatar thomaszurkan-optimizely commented on May 22, 2024
  1. What is your datadownload interval set to (should probably be at least a few minutes Android O has a min of 15 minutes)?
  2. Since it is from a service intent, it is in a separate thread that dies so worst case, the intent should just not complete.
  3. We don't have a try catch around that and we should. But, the initialize is being refactored and that call will no longer exist in its current state.

from android-sdk.

manuel-sejourne avatar manuel-sejourne commented on May 22, 2024

Hi,

My answers:

.withDatafileDownloadInterval(60)
.withEventDispatchInterval(60)

from android-sdk.

thomaszurkan-optimizely avatar thomaszurkan-optimizely commented on May 22, 2024

@manuel-sejourne So, it is updating every 60 seconds which is quite a lot. But, have you profiled the app to see where the memory leak is coming from? Just because it died there doesn't mean that's where the memory leak is. We have cleaned up all our resources in 1.4 and I don't think we have any memory leaks.

from android-sdk.

thomaszurkan-optimizely avatar thomaszurkan-optimizely commented on May 22, 2024

@manuel-sejourne Question: Was it in API 24? I see some weird stuff when profiling and there are lots of stack overflow on memory leaks in this version.

from android-sdk.

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.