Hi, We're working on a application that loads photos using the gallery. Most of the images in full size will be in the ~200 K range.
We've been profiling the application for memory usage and have made several optimizations to try and make sure the application is not holding unnecessary references. However, the application continues to run out of memory when viewing images via the Gallery widget. It appears as if the Gallery does not free the View objects after they're no longer in the viewable screen. I'm wondering if this is a known problem and if there are any suggestions to either work around it or other solutions. Looking through the source it looks like there's a RecycleBin object that should be collecting references but heap dumps show references the View objects. Any help is appreciated. Thanks, Todd -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

