[android-developers] [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Joe McCann
In a nutshell, I have/am trying to create reusable UI components in XML. I created a dead simple project that only fires an activity to show the UI. It can be downloaded here: http://dl.dropbox.com/u/409429/Bitmap%20Bg%20Test.zip I have a base_form.xml component that is referenced

Re: [android-developers] [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Mark Murphy
On Fri, Jan 7, 2011 at 12:36 PM, Joe McCann joseph.is...@gmail.com wrote: Also, it appears this is a bug that is declined by the Android team.  Use less memory in your app was the original solution suggested by Romain Guy. http://code.google.com/p/android/issues/detail?id=8488 The issue you

Re: [android-developers] [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Mark Murphy
On Fri, Jan 7, 2011 at 12:36 PM, Joe McCann joseph.is...@gmail.com wrote: In a nutshell, I have/am trying to create reusable UI components in XML.  I created a dead simple project that only fires an activity to show the UI. Your dead simple project will not run on any version of Android, due

Re: [android-developers] [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Romain Guy
This error message is usually not related to the GC. This message is logged when recycle() is called twice on the same bitmap. Considering you are doing your own bitmap management and calling recycle yourself in BaseForm I would suspect a bug in your code. On Fri, Jan 7, 2011 at 9:44 AM, Mark