Android Performance Patterns: Memory Churn and performance

One of the tricky parts about Java’s Managed Memory model is that it regularly executes “Garbage Collection” events, which stop your executing code in order to clean up various parts of your app’s memory. Normally, these aren’t that problematic, since they’ve been tuned to be as fast, and least intrusive as possible. But lots of them, occurring over-and-over again, can quickly eat into your frame time.

In this video +Colt McAnlis talks about a common programming pattern that can trigger a cascade of Garbage Collection events to occur, called “Memory Churn”. He also makes fun of lightsabers, and points out some great tools to help solve your memory problems.

Watch more Android Performance Patterns here: http://goo.gl/3dBbse


Leave a Reply

You must be logged in to post a comment.
 
 
TECHNALAB
Tel. +48 513 044 332
E-Mail: contact@technalab.com
Skype: wojciech.kulicki
MSN: contact@technalab.com
AIM: technalab@aim.com
TECHNALAB
Janów Podlaski 21-505
Orzeszkowej 11
Poland
Vat No. PL5372176985