Bug #15446 Updated: memory leak with xmldoc

From: Date: Fri, 08 Feb 2002 11:40:30 +0000
Subject: Bug #15446 Updated: memory leak with xmldoc
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-79688@lists.php.net to get a copy of this message
ID: 15446 Updated by: mfischer@php.net Reported By: jparneodo@yahoo.fr -Status: Open +Status: Duplicate Bug Type: DOM XML related Operating System: RedHat7.1 PHP Version: 4.1.1 New Comment: That's a feature request and actually a duplicate (don't know the # of the other report). There was even a patch supplied (but last time I tested [=months ago ;)]) I had some problems with it. Previous Comments: ------------------------------------------------------------------------ [2002-02-08 06:17:13] jparneodo@yahoo.fr Use a small xml string and start this code and look at your memory server, I've 150Mb before the end of the loops :-( Of course, I've the same result with a few loops an big xml data. for($j=1;$j<=20;$j++){ for($i=1;$i<=1000;$i++){ xmldoc($xml); echo "<br>loop $j:$i\n"; } sleep(2); } Is it a memory leak? Or a feature to add like xmldocfree()? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15446&edit=1

« previous php.dev (#79688) next »