Bug #46103 [Ver->Csd]: ReflectionObject memory leak

From: Date: Sun, 18 Dec 2016 16:11:24 +0000
Subject: Bug #46103 [Ver->Csd]: ReflectionObject memory leak
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-206113@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=46103&edit=1 ID: 46103 Updated by: nikic@php.net Reported by: jim dot keller at contextsolutions dot net Summary: ReflectionObject memory leak -Status: Verified +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: Automatic comment on behalf of nikic Revision: http://git.php.net/?p=php-src.git;a=commit;h=c1af9f282f62eaf8a5973068ce373a800e0f752c Log: Fix bug #46103 Previous Comments: ------------------------------------------------------------------------ [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 . ------------------------------------------------------------------------ [2011-09-27 04:03:04] eric dot muyser at gmail dot com Not bogus. Still an issue in 5.3.8. https://gist.github.com/1244305 ------------------------------------------------------------------------ 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

« previous php.bugs (#206113) next »