Could be anything...
Do you hold any static references?
If so, are these static references to your Activity(s) or to objects
that may contain themselves references to your activity?


On Dec 1, 5:32 am, Jyothi Prasad <ajp...@gmail.com> wrote:
> Hi,
>
> I have an activity in my app.
> When I clicked back key the activities "onDestroy" is getting called.
> But, When i run Memory analyser, The activity is lying with 4.5KB size.
>
> Why garbage collector is not cleaning this object?
>
> If I open, that activity for 10 times, 9 instances of 4.5KB and one instance
> of 20.5KB is present.
>
> Thanks for help.
>
> -- Jyothi

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