Android Performance Patterns: Memory Churn and Performance
Channel:
Subscribers:
2,510,000
Published on ● Video Link: https://www.youtube.com/watch?v=McAvq5SkeTk
One of the tricky parts about a Managed Memory language 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
Other Videos By Google for Developers
Tags:
Google
developers
product: android
fullname: Colt McAnlis
Location: MTV
Team: Scalable Advocacy
Type: DevByte
GDS: Full Production