Android ViewPager Fragment ImageView Glide Memory Leak -


i'm using viewpager fragmentstatepageradapter.
each fragment has imageview's.
glide loading images:

glide.with(fragment)//current fragment      .load(imageurl)//url string      .dontanimate()      .skipmemorycache(true)      .into(imageview_n); 

viewpager's offscreenpagelimit default (1);
ondestroy calling each fragment.
after sliding next , next fragment memoryheap increasing, not releasing.
, outofmemory.


i know, possible duplicate question, other post did not me.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -