Re: max array size question..
| From: | Paul K Egell-Johnsen | Date: | Mon, 05 Mar 2001 15:28:45 +0000 |
| Subject: | Re: max array size question.. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42618@lists.php.net to get a copy of this message | ||
Jeff wrote:
>
> I'm trying to read in a text file that has 42620 lines. Each line has
> zip code information separated by commas. I have no problem reading the
> file into an array. But when I try and read each element in the array
> and put it into another array I get a "500 server error". The second to
> last line is what's causing the problem.
>
> After doing some debugging I found out that at around iteration 18000 is
> when the server error occurs. Any ideas? I know I should use a
> database, but i'm intrigued by this problem.
Check out if the memory usage is overrun; check if timeout occurs. (Your
probgram isn't much help without the data)
--
Paul K Egell-Johnsen
Developer/PR Manager
eZ systems as
http://ez.no/