Open estefaniamiguel opened 9 years ago
@estefaniamiguel got this one, in my case DocumentView
is part of ListView
row and this happends with fast scrolling
documentView.setCacheConfig(DocumentView.CacheConfig.NO_CACHE);
Reduced the memory usage of my app by approx. 10mb. Thats huge. Maybe it helps other users too.
Sometimes I get an out of memory message the leak occurs here: public CacheBitmap(int w, int h, Config config) { bitmap = Bitmap.createBitmap(w, h, config);
Here is some information about that leak http://stackoverflow.com/questions/477572/strange-out-of-memory-issue-while-loading-an-image-to-a-bitmap-object
i'm trying to solve it by my own but i can't, maybe yo can do it but i'll let you know my progress