Giter Site home page Giter Site logo

Comments (8)

janpio avatar janpio commented on May 13, 2024

Can you please provide some more information?

from cordova-android.

winnerliu avatar winnerliu commented on May 13, 2024

use leakcanary found

from cordova-android.

winnerliu avatar winnerliu commented on May 13, 2024

@janpio

from cordova-android.

brodybits avatar brodybits commented on May 13, 2024

Reopening for now. @winnerliu a better explanation to walk us through the issue would be really appreciated since not all of us are familiar with Leakcanary.

from cordova-android.

pengbs avatar pengbs commented on May 13, 2024

same issue

from cordova-android.

eugenepoplavsky avatar eugenepoplavsky commented on May 13, 2024

I think I have the similar(or the same) issue.
You can reproduce it after implementing LeakCanary(link) into your "test" project(link).
Screenshot_2019-11-05-23-57-38-980_org apache cordova unittests

Also, you can enable StrictMode(link) and check TestActivity(for example) on InstanceCountViolation

  • I have this error in my app and also in your "test" project. To reproduce - reenter in the activity a few times.
    ```
    StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
    .detectLeakedSqlLiteObjects()
    .detectLeakedClosableObjects()
    .setClassInstanceLimit(TestActivity.class, 1)
    .penaltyLog()
    // .penaltyDeath()
    .build());

from cordova-android.

breautek avatar breautek commented on May 13, 2024

I'm unable to reproduce this (but could be using LeakCanary wrong...), but following their get started link, the logcat only produces org.apache.cordova.unittests D/LeakCanary: Installing AppWatcher, and nothing else. I also tried the StrictMode, but that didn't produce any output either.

Can someone confirm if this is still an issue on the current master?

from cordova-android.

breautek avatar breautek commented on May 13, 2024

Closing due to staleness.

from cordova-android.

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.