Comments (4)
@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.
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
[2] Here we can view the details of the exeperiment ( that found memory leaks ) an so analize the specific ativity that leaked
FunesDroid shows principally 3 indicators:
- Activity leaked : numer of leaked activity;
- 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.
- 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.
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.
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)
- BUG : skeletonBoneIgnored attribute depends on databinding order of execution HOT 5
- Question - How to change color? HOT 2
- How to stop skeleton on views HOT 1
- Can't get the examples working HOT 27
- Bug - Lib isn't working HOT 6
- Creating SkeletonDrawable from code is not working properly HOT 1
- Don't understand new API 1.4.4 and have an issue with View visibility
- Crash in release build due to missing proguard rules HOT 2
- Use on recyclerView
- Cannot disable Skeleton effect
- Caused by: kotlin.UninitializedPropertyAccessException: lateinit property renderer has not been initialized
- java.lang.IllegalArgumentException: parameter must be a descendant of this view
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skeleton-bones.