I respectfully disagree, though part of the issue could be terminology, what 
you consider a leak. I understand your explanation about the GC requiring 
multiple passes, but to my mind, if calling system.gc() doesn't reclaim 
unused memory, that's a leak. According to the docs, I shouldn't need to 
call it at all. Can you tell us how many calls are required to reclaim the 
memory from a no-longer-used bitmap?

I am also certain that I've seen specific cases where the memory cannot be 
reclaimed at all - mostly involving BitmapDrawables - but I haven't had time 
to put together a minimal test case. 

Nonetheless, the news that this has been reworked for Gingerbread/Honeycomb 
is very good. :^)

String

-- 
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

Reply via email to