Giter Club home page Giter Club logo

Comments (4)

EudyContreras avatar EudyContreras commented on May 26, 2024

@ajans Thanks for discovering and reporting this issue. I will be taking a look at it.
Since I am unfortunately very busy at the moment it might take some time before I can produce a solution.

from skeleton-bones.

FernandoDiCostanzo avatar FernandoDiCostanzo commented on May 26, 2024

Testing the application with FunesDroid ( a black-box tool used to find memory leak : https://github.com/reverse-unina/FunesDroid ) noticed that some activity leaks.

FunesDroid shows a snapshot of the difference between heap memory area before experiment begin and after and so it can show remained objects in memory.
So if there some remaind objects that should means that some activity leaks and caused that remainder.

[1] Here we can view wich exeperiment finds a memory leak
SkeletonBonesFunesDroid

[2] Here we can view the details of the exeperiment ( that found memory leaks ) an so analize the specific ativity that leaked
SkeletonBonesFunesDroid_doc_5_10

FunesDroid shows principally 3 indicators:

  1. Activity leaked : numer of leaked activity;
  2. Total shallow heap : The shallow heap is the amount of memory consumed by an object, so the Total shallow heap it's the amount of memory consumed by all objects.
  3. Total retained size : The retained size of the same object is the amount of heap memory that is freed when the object is garbage collected.

Since any object can be GB, the retained size is equal to 0 .

So you can may investigate on the objcect shown in table [2] that remain in memory ( by following their reference chain ) and find the memory leak's cause.

I hope it will be useful to you.

from skeleton-bones.

ZeeOne avatar ZeeOne commented on May 26, 2024

Thank you for the awesome library! It certainly is much prettier than others I have tried. I also have encountered the memory leak. In my case, I am using SDK Version 31 and the skeleton view is in a fragment (for incase this might help at all).

from skeleton-bones.

EudyContreras avatar EudyContreras commented on May 26, 2024

Hey @ZeeOne and @FernandoDiCostanzo I will look into this and solve the issue once I can allocate some time. Thank you for reporting 🙏

from skeleton-bones.

Related Issues (13)

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.