Reputation: 3043
Hi I have asked before question relating memory management. Since then I have allowed larger heap size, and i have created all the images in right resolution, but still i have an issue that the application is using from 150 to 230 MB of RAM on Samsung Galaxy S5, and the same app and the same build is using just 10-20 MB of RAM on Lenovo A319. What am I missing? Please explain me it. I am clearing the memory and recycling the images to, it was not an issue with the app earlier.
Upvotes: 0
Views: 758
Reputation: 4730
The reason is the resolution difference in these two devices. when you set an image to a ImageView
and assume it's full screen.
BitMap
it would take 8.2944 MbDevices which has high resolution comes with higher RAM's so if your app does not cause OutOfMemoryException
's you don't have to worry about this
Upvotes: 1