Bug #46103 [Csd]: ReflectionObject memory leak
Edit report at https://bugs.php.net/bug.php?id=46103&edit=1
ID: 46103
User updated by: jim dot keller at contextsolutions dot net
Reported by: jim dot keller at contextsolutions dot net
Summary: ReflectionObject memory leak
Status: Closed
Type: Bug
Package: Performance problem
Operating System: Windows XP
PHP Version: 5.2.6
Block user comment: N
Private report: N
New Comment:
I can finally get back to my code!! Thanks!!
Previous Comments:
------------------------------------------------------------------------
[2016-12-18 16:11:19] nikic@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c1af9f282f62eaf8a5973068ce373a800e0f752c
Log: Fix bug #46103
------------------------------------------------------------------------
[2016-12-17 14:37:14] nikic@php.net
Confirming that this still leaks on PHP 7.
------------------------------------------------------------------------
[2011-09-27 08:27:46] laruence@php.net
it seems because the object pass to ReflectionObject::__construct is stored in a
custom struct, which can not be reached by gc_collect_cycles.
------------------------------------------------------------------------
[2011-09-27 05:43:17] laruence@php.net
hmm, seems not a ZE issue
------------------------------------------------------------------------
[2011-09-27 05:11:45] laruence@php.net
I can reproduce.. dmitry plz look at this .
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=46103
--
Edit this bug report at https://bugs.php.net/bug.php?id=46103&edit=1
Thread (9 messages)