#25820 [Bgs]: PHP 4.3.3 Memory leak.
ID: 25820
User updated by: david dot ruiz at elementstudio dot com dot br
Reported By: david dot ruiz at elementstudio dot com dot br
Status: Bogus
Bug Type: DOM XML related
Operating System: RedHat linux 9
PHP Version: 4.3.3
New Comment:
Every time i use unset on a xml object, it doesn't clean (delete) from
the memory ... every time i create a xml, it increases the used
memory.
I've found some articles that talk about it, but the solution given
only applies to the version 4.0.6.
http://bugs.php.net/bug.php?id=14037
Previous Comments:
------------------------------------------------------------------------
[2003-10-10 11:37:42] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
..why wouldn't it grow?
------------------------------------------------------------------------
[2003-10-10 09:52:05] david dot ruiz at elementstudio dot com dot br
Description:
------------
The memory used by php to run to the folowing script is growing without
stopping....
I tried php snaps... but the problem was not solved.
Reproduce code:
---------------
<?
for($c=0;$c<60;$c++){
$xmlQueue = domxml_new_doc("1.0");
$xmlQueue_root = $xmlQueue->create_element("queue_out");
$xmlQueue->append_child($xmlQueue_root);
$str = $c."s\n";
echo $str;
sleep(1);
unset($str);
unset($xmlQueue_root);
unset($xmlQueue);
}
?>
Expected result:
----------------
No memory overflow.
Actual result:
--------------
The memory used by php is growing without stopping.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25820&edit=1
Thread (7 messages)