aspose file tools*
The moose likes Android and the fly likes Android Memory Management Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Android Memory Management " Watch "Android Memory Management " New topic
Author

Android Memory Management

Mourouganandame Arunachalam
Ranch Hand

Joined: Oct 29, 2008
Posts: 396
Mark,

How effectively Android handles memory management and GC?

Hope it is not 100% relying on Java.


Mourougan
Open Source leads to Open Mind
Mark L. Murphy
Author
Ranch Hand

Joined: Feb 11, 2009
Posts: 131
Could you be more specific?


Mark Murphy (a Commons Guy)
Author of The Busy Coder's Guide to Android Development http://commonsware.com/Android/
Fred Grott
Ranch Hand

Joined: Oct 05, 2002
Posts: 346
Are you refering to memory management at the app level or at the kernel level?


MobileBytes blog - Sharing Technology - My Programming Knols
Mourouganandame Arunachalam
Ranch Hand

Joined: Oct 29, 2008
Posts: 396
Could you be more specific?


Since Android uses its own VM, just curious to know how would be the GC more effective compared to GC in JVM?
Mark L. Murphy
Author
Ranch Hand

Joined: Feb 11, 2009
Posts: 131
Since Android uses its own VM, just curious to know how would be the GC more effective compared to GC in JVM?


I am not aware of straight-up GC comparisons.

Android does have, beyond GC, a sophisticated system to shut down activities (a.k.a., "screens") that the user has left open if and when the system needs more memory. Via some events passed to activity code, the activities (generally) get a chance to save their state and restore it when they are re-opened, so they can appear to not have been gone at all.
 
 
subject: Android Memory Management
 
Similar Threads
Android Basic Specs
I am a SE and EE developer plan to learn Android for ME
Range of programming languages
WA #2 ..... word association
WA #1.....word association