Bug #62684 [NEW]: PHP/DOMDocument: unset() does not release resources
From: jerico dot dev at gmail dot com Date: Sat, 28 Jul 2012 18:01:01 +0000 Subject: Bug #62684 [NEW]: PHP/DOMDocument: unset() does not release resources Groups: php.bugs Request: Send a blank email to php-bugs+get-172296@lists.php.net to get a copy of this message
From: jerico dot dev at gmail dot com Operating system: Linux PHP version: 5.3.15 Package: Performance problem Bug Type: Bug Bug description:PHP/DOMDocument: unset() does not release resources 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 bug report at https://bugs.php.net/bug.php?id=62684&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62684&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62684&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62684&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=62684&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62684&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=62684&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=62684&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=62684&r=needscript Try newer version: https://bugs.php.net/fix.php?id=62684&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=62684&r=support Expected behavior: https://bugs.php.net/fix.php?id=62684&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=62684&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=62684&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=62684&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62684&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=62684&r=dst IIS Stability: https://bugs.php.net/fix.php?id=62684&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=62684&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=62684&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=62684&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=62684&r=mysqlcfg
Thread (5 messages)
| « previous | php.bugs (#172296) | next » |
|---|