in reply to Out of memory
I suspect that the code is reading the entire fileYour suspicion is correct. The following line reads the whole file into an array of lines:
my @file = <dlthis>;
Remove the line and change the following for-loop into a while-loop:
while ($line = <dlthis>) {
It will process the file line by line (untested).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Out of memory
by wrkrbeee (Scribe) on Jan 15, 2015 at 15:13 UTC | |
by choroba (Cardinal) on Jan 15, 2015 at 15:22 UTC | |
by wrkrbeee (Scribe) on Jan 15, 2015 at 15:51 UTC | |
by wrkrbeee (Scribe) on Jan 16, 2015 at 17:32 UTC | |
by LanX (Saint) on Jan 15, 2015 at 15:22 UTC |