Hi Edin! On Fri, 23 Nov 2001, Edin Kadribasic wrote: > I have noticed the same problem with a scipt that used a very large array > (~160 MB). The script run time was around 35 seconds, while it took over 4 > minutes to shut down! Same amount of time was used in trying to unset() the > array.
[wild guess] probably the memory deallocation is the one expensive here. BTW, don't use large arrays in PHP as Apache module cause when the process grows requesting more memory (brk(2)) it cannot release it back to the system (because the httpd process is still running). -- teodor -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]