Re: Very large array
| From: | Boian Bonev | Date: | Tue, 16 Oct 2001 23:56:01 +0000 |
| Subject: | Re: Very large array | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68079@lists.php.net to get a copy of this message | ||
absolutely :)
i had the same problem. btw. i have noticed that if you set script timeout
to less than 4 min. in your case and let the script exit without unset, it
will hang while freeing these thousands of memory chunks and segfault when
timelimit is exhausted [tested with command line ver]
b.
----- Original Message -----
From: "Edin Kadribasic" <edink@proventum.net>
To: <php-dev@lists.php.net>
Sent: Thursday, October 11, 2001 11:35 AM
Subject: [PHP-DEV] Very large array
> I have a program that uses a very large array. The array is created by
> reading ~50.000 rows from the database with ~20 columns. This consumes
> around 250MB ram which is not a problem. The problem is that it takes 4
min
> to unset the array either explicitly or when program ends. Is this normal
on
> an IBM Netfinity 2x933 Mhz with 1G ram?
>
> Edin
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>