Re: [PHP4BETA] Harmless memory leak?...

From: Date: Fri, 16 Apr 1999 17:18:51 +0000
Subject: Re: [PHP4BETA] Harmless memory leak?...
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-124@lists.php.net to get a copy of this message
At 14:00 16/04/99 +0100, Karl Pielorz wrote: >Andi Gutmans wrote: >> 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. >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)... yeah the memory is released back right after the exit(); call and before your next script is executed. We just need to add a mechanism so that only real memory leaks are shown and not zend cleanups after parse errors and exit();. Andi --- Andi Gutmans <andi@zend.com> ICQ: 1568297 -- PHP 4 Beta

« previous php.version4 (#124) next »