Re: how to detect circular reference caused mem leaks on win32

From: Date: Fri, 18 Aug 2000 20:53:31 +0000
Subject: Re: how to detect circular reference caused mem leaks on win32
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-29534@lists.php.net to get a copy of this message
AL>> $o->x->a=1; AL>> $o->y->a=1; AL>> $o->x->y=&$o->x; AL>> $o->y->x=&$o->x; AL>> $o->y->o=&$o; AL>> $o->x->o=&$o; AL>> Yes, this one does leak. Some 140 bytes. Minimal one I could make is: $o->x->a=1; $o->x->y=&$o->x; Leaks 129 bytes. -- Stanislav Malyshev stas@zend.com +972-3-6139665 ext.106

« previous php.dev (#29534) next »