Tried fixing heavy memory usage.