I have a clue -- the OutOfMemoryError went away when I set debuggable
to false. Does that help?

-- Jon Webb

On Apr 28, 2:59 pm, Ward Willats <goo...@wardco.com> wrote:
> At 11:19 AM -0700 4/28/09, Jon Webb wrote:>Like many others here I'm getting 
> OutOfMemoryError from BitmapFactory
>
> when decoding multiple bitmaps. I am sure I am not leaking memory.
>
> >I am scrupulously recycling bitmaps nulling pointers, etc.
> >Any ideas what's going on, or for a workaround?
>
> +1 here.
>
> I still get OOM errors, often when inflating view trees, when there
> is plenty of heap available. I've gone through a lot of heroics to
> get memory use down -- that's a good thing to do anyway -- but it
> hasn't helped because the error is either spurious or indicating
> something else is wrong. I do have a custom view that decodes
> bitmaps, but its not leaking either.
>
> Would love to see a definitive answer, or even definitive clues...
>
> -- Ward
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to