Re: Memory leak

From: Date: Tue, 23 May 2000 18:53:43 +0000
Subject: Re: Memory leak
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-19302@lists.php.net to get a copy of this message
This is a known leak. There is not much that can be done about it without slowing down Zend significantly. In any case, as you know it isn't a "real" leak because it is cleaned up after each request. Andi On Tue, 23 May 2000, Andrei Zmievski wrote: > <? > $a = array(1, 2); > $a[] = &$a; > ?> > > ./zend_execute.c(413) : Freeing 0x001BDD38 (16 bytes), script=./test.php > ./zend_execute.c(1944) : Freeing 0x00195A68 (48 bytes), script=./test.php > zend_API.c(189) : Actual location (location was relayed) > zend_hash.c(391) : Freeing 0x00190AC8 (35 bytes), script=./test.php > Last leak repeated 1 time > zend_hash.c(185) : Freeing 0x0018B660 (20 bytes), script=./test.php > > Probably need some code to prevent self-referential structures like > that. > > -Andrei > * Only 19,999 lines of C++ to my next ski trip... * > >

« previous php.dev (#19302) next »