in reply to Re: Re: Out of memory
in thread Out of memory
So, why can't you process the file line-by-line?
You also say "I need to store $buffer in an array and then process it word by word". Why, oh why? It's certainly not going to solve your out of memory error. As people have indicated, that's where the root of your problem is - trying to store everything in memory.
I suggest you either follow the given advice, or you buy some more memory, because you will need to buy more if you insist of storing the entire file in memory. And keep some cash ready, you need to buy more if your file increases.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Out of memory
by Anonymous Monk on Aug 19, 2002 at 13:54 UTC | |
|
Re: Re: Out of memory
by Anonymous Monk on Aug 19, 2002 at 15:14 UTC |