Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Android Memory Management

 
Mourouganandame Arunachalam
Ranch Hand
Posts: 398
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mark,

How effectively Android handles memory management and GC?

Hope it is not 100% relying on Java.

 
Mark L. Murphy
Author
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you be more specific?
 
Fred Grott
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you refering to memory management at the app level or at the kernel level?
 
Mourouganandame Arunachalam
Ranch Hand
Posts: 398
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic