jotobjects wrote:
> Most JVM's do not return
> memory to the OS when their memory use declines -- the JVM just has
> more free memory available for future object allocations.  In other
> words the JVM high water allocation mark does not recede.

My understanding was that Dalvik VM returned memory to the OS, but I may
be mistaken.

> (4)  My meminfo results were slightly different than what Mika
> reported at the beginning of this thread.  When the Activity is the
> foreground my process had 14 views, 4 AppContexts, 2 ViewRoots, and 2
> Activities.  After the Activity was destroyed it had 7 views, 3
> AppContexts, 1 ViewRoots, and 1 Activities.  So SOMETHING happened
> but I don't know how to interpret theses numbers - why would there be
> so many views, etc. for a simple 1 TextView application?

Try running hierarchyviewer on your activity, and you will find your
answer, at least for the # of views.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Training in Germany, 18-22 January 2010: http://bignerdranch.com

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