Out of Memory using after 5 times of change orientation
问题 I am handling larges images with 900 x 900 dimension. The images are displayed by a gridview implementation. There are 5 gridviews inside ViewPager's pages. The problem after 4 times of screen orientation change, I am getting out of memory error and the images starts not displaying. The grow heap increases up to 43 mb. I posted the log cat errors. I am using Universal-image-loader . File cacheDir = new File(getActivity().getExternalCacheDir(), "CachedImages"); if (!cacheDir.exists()) cacheDir