Edit report at https://bugs.php.net/bug.php?id=62684&edit=1
ID: 62684 Updated by: [email protected] 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
