You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thisone_placeholder_left is a jpg, when i use this, the memory increase fast.
and after i move it, it become normal.
The text was updated successfully, but these errors were encountered:
michalgr
added
the
needs-details
This issue or PR is currently not actionable as it misses details (e.g. for reproducing the problem)
label
Jan 13, 2016
Could you check whether the memory grows because the thisone_placeholder image is that big or because multiples instances of bitmaps are created (one per drawable) ? You can check that in heapdump.
I had a grid view with several images using a big JPEG as placeholder (for testing), and the app was crashing by memory shortage. I removed the placeholder and did the old way, checking if there's an image, else loading the placeholder as an actual image, and the leak stopped.
my code in xml is
thisone_placeholder_left is a jpg, when i use this, the memory increase fast.
and after i move it, it become normal.
The text was updated successfully, but these errors were encountered: