Re: [CVS] Memleak when assigning a class being property of another class the class
| From: | Stanislav Malyshev | Date: | Wed, 14 Nov 2001 12:17:27 +0000 |
| Subject: | Re: [CVS] Memleak when assigning a class being property of another class the class | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70449@lists.php.net to get a copy of this message | ||
MF>> on shutdown.
MF>>
MF>> If I remove the reference operator (thus make a copy of the object [which I
MF>> don't want]) at any point there is no leak.
I guess you've got circular reference case there (it's when variable X
references Y which in turn references X or part of X). It's known to cause
memory leaks. It's not dangerous since these leaks are auto-cleaned after
each request.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115