parsing - How can I cut down on the size of file loaded into Roo object in Rails? -
i using roo gem parse data in csv. csv around 400mb in size however, , when attempt parse loop...
(2..sheet.last_row).collect |i| # parsing code... end it error out [fatal] failed allocate memory. going break smaller loops until reaches last_row, asking roo last_row cause error -- can't tackle way.
Comments
Post a Comment