in reply to Text CSV_XS memory crash
{push @array, $row;}
I'd suppose you're simply running out of memory, because you're collecting all the data in the @array. 2 GB memory usage for representing 100 MB file contents in an array (of arrays) structure isn't that unusual.
Do you actually need to hold the entire data in memory, or might there perhaps be a way to process things sequentially?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Text CSV_XS memory crash
by glepore70 (Novice) on Feb 02, 2011 at 15:24 UTC | |
by Anonyrnous Monk (Hermit) on Feb 02, 2011 at 15:41 UTC | |
by glepore70 (Novice) on Feb 02, 2011 at 15:57 UTC | |
by Anonyrnous Monk (Hermit) on Feb 02, 2011 at 16:18 UTC | |
by marto (Cardinal) on Feb 02, 2011 at 16:01 UTC | |
by Tux (Canon) on Feb 02, 2011 at 18:18 UTC |