in reply to Re: Alternate for "open"
in thread Alternate for "open"
foreach $file (@cdr_list) { chomp $file; open (FP,"$file") or die "Could not open $file\n"; $first=1; while ($line=<FP>){ chomp $line;
Here is the code I am using to read the file. Actually I am running this program in server which contains 64GB of RAM. Whenever the program started running the memory usage jumps to 98% around from 25-30%. I think it's because of the files. I correct or I have to concentrate on other parts???
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Alternate for "open"
by Corion (Patriarch) on Nov 16, 2015 at 08:27 UTC | |
|
Re^3: Alternate for "open"
by 1nickt (Canon) on Nov 16, 2015 at 15:18 UTC | |
by ravi45722 (Pilgrim) on Nov 17, 2015 at 04:53 UTC | |
by Corion (Patriarch) on Nov 17, 2015 at 07:35 UTC | |
|
Re^3: Alternate for "open"
by Preceptor (Deacon) on Nov 16, 2015 at 17:24 UTC |