Bug #62684 [Opn->Fbk]: PHP/DOMDocument: unset() does not release resources
| From: | rasmus@php.net | Date: | Sat, 28 Jul 2012 18:30:42 +0000 |
| Subject: | Bug #62684 [Opn->Fbk]: PHP/DOMDocument: unset() does not release resources | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-172297@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62684&edit=1
ID: 62684
Updated by: rasmus@php.net
Reported by: jerico dot dev at gmail dot com
Summary: PHP/DOMDocument: unset() does not release resources
-Status: Open
+Status: Feedback
Type: Bug
Package: Performance problem
Operating System: Linux
PHP Version: 5.3.15
Block user comment: N
Private report: N
New Comment:
Sorry, a 1126-line reproduce script? I doubt any of us are going to read through
that. Please simplify to a 10-15 line example that shows the problem you are
having.
Previous Comments:
------------------------------------------------------------------------
[2012-07-28 18:01:01] jerico dot dev at gmail dot com
Description:
------------
A complete problem description + sample code can be found here:
http://stackoverflow.com/questions/11703164/php-domdocument-unset-does-not-release-resources
Test script:
---------------
https://github.com/jerico-dev/ojs/blob/abc2af0f66c11664b7e917201fd707aa3307a1e0/plugins/generic/lucene/classes/SolrWebService.inc.php#L296
Expected result:
----------------
I expect unset() to release the memory resources that were used for the object.
Actual result:
--------------
unset() only releases a tiny amount of the resources actually used. See the debug output in http://stackoverflow.com/questions/11703164/php-domdocument-unset-does-not-release-resources
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62684&edit=1