Some speculation at http://stackoverflow.com/questions/20385767/finding-the-cause-of-a-memory-leak-in-ruby