If you can see an object it's not garbage. On Sep 1, 8:48 am, Shashidhar <shashi.zep...@gmail.com> wrote: > Hi, > In my application I change layouts very frequently with most of the user > interactions. Each time when a new layout is drawn, the applications memory > size is increasing. I can see this in DDMS. > This is absolutely fine. I have analyzed my application with memory analyze > tool and it shows that there around 42 Table layouts at some point of time > and this number increase as user does more interactions with the app. Now my > question is why doesn't the GC collect the stale layout objects. Does > GC collect on UI widgets also??? I feel it does but can any one tell me what > may be the reason for GC not collecting my UI elements. > > Thanks, > Shashidhar
-- 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