logo Boston Ruby Group


Past presentations ~ RSS

July 9, 2013

Memory Issues in Ruby Applications

by Joe Ferris

As Rails applications mature, they frequently run into performance issues. One of the most common problems that plague middle-aged Rails apps is running out of memory. Unfortunately, the causes of most memory issues are the tools that make applications so easy to write, such as ActiveRecord and Enumerable. Although these tools make it easy to navigate your data, they also make it easy to continually use more memory as your data grows. During this talk, you'll learn about different memory problems, such as leaks, bloat, and churn. You'll learn some common causes of memory issues in Rails applications, and you'll see how to use streams to improve performance and trim down on memory usage.

blog comments powered by Disqus