Skip to content Skip to sidebar Skip to footer

Android - Out Of Memory Problem

In my app, i am downloading images from the web. For this, first time i am downloading images from the web and these images are stored in the sdcard. Next time, i am checking these

Solution 1:

I think you are not using the ViewHolder model for listview. In such case you are supposed the get such error as all the list items will be available in the memory whether it is visible or not.By using ViewHolder memory is assigned to only those items which are visible and are currently on the screen. ViewHolder patternincreses the performance by 150% For video tutorial about ViewHolder check out this .If you are already implemented then it is the case of memory leak you can refer this


Post a Comment for "Android - Out Of Memory Problem"