Write For Us

Android Performance Patterns: Memory Churn and Performance

Sponsored Post Vitamin D2 Canada Persia
262 Views
Published
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:
Category
Tutorials
Sign in or sign up to post comments.
Be the first to comment