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

From: Date: Fri, 18 Aug 2000 20:59:37 +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-29538@lists.php.net to get a copy of this message
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.
I know I did not want to ask anymore, but the questions still remain and it´s interesting, if I´m bothering you feel free to tell me ;) and if some question would be to complex to explain leave it out... 1) If I´m sticking a loop around it, will it leak more than 140 bytes 2) what´s the actual reason for that leak, why is it needed? 3) It only leaks one time (on creation) not an access or sth. different? 4) Do "normal" propertes like $o->x->b=5; increase the leak or is it two different things... I think that´s all. I hope so. -- o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ ° · 0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . · | psychedelic experience | gott@kiffen.de | O ° o ° o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·

« previous php.dev (#29538) next »