#20168 [Bgs->Csd]: DOMXML - Memory Allocation Without Destroy
| From: | chregu@php.net | Date: | Tue, 08 Apr 2003 18:29:41 +0000 |
| Subject: | #20168 [Bgs->Csd]: DOMXML - Memory Allocation Without Destroy | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37363@lists.php.net to get a copy of this message | ||
ID: 20168
Updated by: chregu@php.net
Reported By: jury at elkor dot lv
-Status: Bogus
+Status: Closed
Bug Type: DOM XML related
Operating System: LINUX May be others
PHP Version: 4.2.3
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-10-30 07:11:30] chregu@php.net
There is no $dom->free() method at the moment. The DomObjects are only
free at script-end.
Programming such a method is on the todo list...
chregu
------------------------------------------------------------------------
[2002-10-30 04:44:43] jury at elkor dot lv
DOMXML Not free created document and php as static binary using as much
memory as can. After usage of all memory kernel kill process
I'v not found any php_functions which is freeing XML Document. Except
unset()
Example:
<?
while(1)
{
$xml_doc = domxml_new_xmldoc("1.0");
unset($xml_doc)
}
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20168&edit=1