#20168 [Opn->Bgs]: DOMXML - Memory Allocation Without Destroy
| From: | chregu@php.net | Date: | Wed, 30 Oct 2002 13:11:30 +0000 |
| Subject: | #20168 [Opn->Bgs]: DOMXML - Memory Allocation Without Destroy | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23719@lists.php.net to get a copy of this message | ||
ID: 20168
Updated by: chregu@php.net
Reported By: jury@elkor.lv
-Status: Open
+Status: Bogus
Bug Type: DOM XML related
Operating System: LINUX May be others
PHP Version: 4.2.3
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2002-10-30 04:44:43] jury@elkor.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