On Thu, Nov 4, 2010 at 6:20 PM, Matt Quigley <[email protected]> wrote:
> Using two processes would take up more total memory when they were
> active at the same time.  However, sometimes components are foreground
> and background and therefore are active in, some components are active
> frequently or all the time in the background such as Services and
> BroadcastReceivers, and some only when in the foreground such as an
> Activity.  Some components take 5000% more memory than others.  It
> would indeed be stupid to double memory to allow the OS to more easily
> kill half of it, but that is not what I was implying.

My understanding is that the Dalvik GC engine can yield RAM back to
the OS. Hence, it is unclear that you are really improving the memory
situation with your approach.

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

Android 2.2 Programming Books: http://commonsware.com/books

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