Fix OutOfMemoryError caused by Ruby