Re: [PHP4BETA] Harmless memory leak?...
| From: | Andi Gutmans | Date: | Fri, 16 Apr 1999 14:21:17 +0000 |
| Subject: | Re: [PHP4BETA] Harmless memory leak?... | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-116@lists.php.net to get a copy of this message | ||
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
At 09:38 16/04/99 +0100, Karl Pielorz wrote:
>Andi Gutmans wrote:
>>
>> Please send us the smallest script you can which causes these memory leak
>> messages to appear?
>>
>> Thanks,
>> Andi
>
>Hi,
>
>OK attached is the smallest bits I could get to generate the errors... The
>errors pop up imediately you load index.php
>
>I realise because of the commented out //include in "auth.php" that the
>database connectivity in the lines after the include will fail... It still
>generates the memory leak errors without this (e.g. if you go to the page
- by
>the time the browser's raised the "Authentication" dialog, apache_error.log
>already has around 40-50 of these errors logged.
>
>If you need any other info, please let me know...
>
>Regards,
>
>Karl
---
Andi Gutmans <andi@zend.com>
ICQ: 1568297
--
PHP 4 Beta