Re: [PHP4BETA] Harmless memory leak?...
| From: | Karl Pielorz | Date: | Fri, 16 Apr 1999 13:00:02 +0000 |
| Subject: | Re: [PHP4BETA] Harmless memory leak?... | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-121@lists.php.net to get a copy of this message | ||
Andi Gutmans wrote:
>
> Hi,
>
> I think I know what the problem is. Right now if you "exit;" from a php
> script you will see false alarms of memory leaks. This is the case right?
> The script doesn't run until the end?
> In any case, within a few days we'll fix it so that memory leaks won't be
> displayed when scripts are terminated by "exit;" or errors like parse
> errors occur.
>
> Andi
I've just run a few quick tests here, and the above would seem to be the
case... I presume the memory is released back? (best case when the scrip
exit()'s - worst case I guess Apache's culling the process after 'x' requests
will get it)...
-Karl
--
PHP 4 Beta