Bug #15446: memory leak with xmldoc

From: Date: Fri, 08 Feb 2002 11:17:14 +0000
Subject: Bug #15446: memory leak with xmldoc
Groups: php.dev 
Request: Send a blank email to php-dev+get-79684@lists.php.net to get a copy of this message
From: jparneodo@yahoo.fr Operating system: RedHat7.1 PHP version: 4.1.1 PHP Bug Type: DOM XML related Bug description: memory leak with xmldoc 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 bug report at http://bugs.php.net/?id=15446&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15446&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15446&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15446&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15446&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15446&r=support Expected behavior: http://bugs.php.net/fix.php?id=15446&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15446&r=notenoughinfo

« previous php.dev (#79684) next »