In my app activity A creates activity B, however when the back key is
pressed it goes back to activity A. This is a simplified version of my
application.

I would expect memory to be reclaimed when going back to Activity A.
Going to activity B allocates more memory.

I am using dumpsys meminfo to get the allocated kbs.

How can I easily tell what memory is creeping? I do not keep any
references to activity B.

I know about the ddms allocation tracker, but wondering if there is a
more better tool to figure this out.

I read somewhere about someone during a heap dump. How do I do that?
--~--~---------~--~----~------------~-------~--~----~
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